Trait GlobalAccountDataEventContent

Source
pub trait GlobalAccountDataEventContent: Sized + Serialize {
    // Required method
    fn event_type(&self) -> GlobalAccountDataEventType;
}
Expand description

Content of a global account-data event.

Required Methods§

Source

fn event_type(&self) -> GlobalAccountDataEventType

Get the event’s type, like m.push_rules.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§