Struct synapse_admin_api::rooms::list_rooms::v1::RoomDetails
source · pub struct RoomDetails {Show 14 fields
pub room_id: OwnedRoomId,
pub name: Option<String>,
pub canonical_alias: Option<OwnedRoomAliasId>,
pub joined_members: UInt,
pub joined_local_members: UInt,
pub version: String,
pub creator: Option<OwnedUserId>,
pub encryption: Option<String>,
pub federatable: bool,
pub public: bool,
pub join_rules: JoinRule,
pub guest_access: GuestAccess,
pub history_visibility: HistoryVisibility,
pub state_events: UInt,
}
Expand description
Structure for all the room details.
Fields§
§room_id: OwnedRoomId
Room ID
name: Option<String>
Room name
canonical_alias: Option<OwnedRoomAliasId>
Room alias ID
joined_members: UInt
Amount of joined members.
joined_local_members: UInt
Amount of local members.
version: String
Room version
creator: Option<OwnedUserId>
User ID of the room creator.
encryption: Option<String>
Room encryption.
federatable: bool
Whether the room is federatable
public: bool
Whether the room is public.
join_rules: JoinRule
Join rules of the room.
guest_access: GuestAccess
Guest access of the room
history_visibility: HistoryVisibility
History visibility of the room
state_events: UInt
State events of the room.
Trait Implementations§
source§impl Clone for RoomDetails
impl Clone for RoomDetails
source§fn clone(&self) -> RoomDetails
fn clone(&self) -> RoomDetails
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 Debug for RoomDetails
impl Debug for RoomDetails
source§impl<'de> Deserialize<'de> for RoomDetails
impl<'de> Deserialize<'de> for RoomDetails
source§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 RoomDetails
impl Send for RoomDetails
impl Sync for RoomDetails
impl Unpin for RoomDetails
impl UnwindSafe for RoomDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more