pub trait RoomAccountDataEventContent: Sized + Serialize {
// Required method
fn event_type(&self) -> RoomAccountDataEventType;
}Expand description
Content of a room-specific account-data event.
Required Methods§
Sourcefn event_type(&self) -> RoomAccountDataEventType
fn event_type(&self) -> RoomAccountDataEventType
Get the event’s type, like m.tag.
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.