pub enum AnyRoomAccountDataEventContent {
FullyRead(FullyReadEventContent),
Tag(TagEventContent),
// some variants omitted
}Available on crate feature
events only.Expand description
Any room account data event.
Variants§
Trait Implementations§
source§impl Clone for AnyRoomAccountDataEventContent
impl Clone for AnyRoomAccountDataEventContent
source§fn clone(&self) -> AnyRoomAccountDataEventContent
fn clone(&self) -> AnyRoomAccountDataEventContent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl EventContent for AnyRoomAccountDataEventContent
impl EventContent for AnyRoomAccountDataEventContent
§type EventType = RoomAccountDataEventType
type EventType = RoomAccountDataEventType
The Rust enum for the event kind’s known types.
source§fn event_type(&self) -> Self::EventType
fn event_type(&self) -> Self::EventType
Get the event’s type, like
m.room.message.source§impl From<FullyReadEventContent> for AnyRoomAccountDataEventContent
impl From<FullyReadEventContent> for AnyRoomAccountDataEventContent
source§fn from(c: FullyReadEventContent) -> Self
fn from(c: FullyReadEventContent) -> Self
Converts to this type from the input type.
source§impl From<TagEventContent> for AnyRoomAccountDataEventContent
impl From<TagEventContent> for AnyRoomAccountDataEventContent
source§fn from(c: TagEventContent) -> Self
fn from(c: TagEventContent) -> Self
Converts to this type from the input type.