Trait fractal::utils::matrix::AtMentionExt

source ·
pub trait AtMentionExt {
    // Required method
    fn can_contain_at_room(&self) -> bool;
}
Expand description

Helper trait for types possibly containing an @room mention.

Required Methods§

source

fn can_contain_at_room(&self) -> bool

Whether this event might contain an @room mention.

This means that either it doesn’t have intentional mentions, or it has intentional mentions and room is set to true.

Implementations on Foreign Types§

source§

impl AtMentionExt for TimelineItemContent

source§

impl AtMentionExt for Message

Implementors§