Struct ruma_client_api::r0::sync::sync_events::RoomSummary [−][src]
pub struct RoomSummary { pub heroes: Vec<String>, pub joined_member_count: Option<UInt>, pub invited_member_count: Option<UInt>, }
Expand description
Information about room for rendering to clients.
Fields
heroes: Vec<String>
Users which can be used to generate a room name if the room does not have one. Required if room name or canonical aliases are not set or empty.
joined_member_count: Option<UInt>
Number of users whose membership status is join
.
Required if field has changed since last sync; otherwise, it may be
omitted.
invited_member_count: Option<UInt>
Number of users whose membership status is invite
.
Required if field has changed since last sync; otherwise, it may be
omitted.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for RoomSummary
impl Send for RoomSummary
impl Sync for RoomSummary
impl Unpin for RoomSummary
impl UnwindSafe for RoomSummary
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more