pub trait GlobalAccountDataEventContent: Sized + Serialize {
    // Required method
    fn event_type(&self) -> GlobalAccountDataEventType;
}Available on crate feature 
events only.Expand description
Content of a global account-data event.
Required Methods§
Sourcefn event_type(&self) -> GlobalAccountDataEventType
 
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.