[−]Struct matrix_sdk_common::directory::PublicRoomsChunk
A chunk of a room list response, describing one room.
To create an instance of this type, first create a PublicRoomsChunkInit and convert it via
PublicRoomsChunk::from / .into().
Fields (Non-exhaustive)
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.aliases: Vec<RoomAliasId, Global>Aliases of the room.
canonical_alias: Option<RoomAliasId>The canonical alias of the room, if any.
name: Option<String>The name of the room, if any.
num_joined_members: UIntThe number of members joined to the room.
room_id: RoomIdThe ID of the room.
topic: Option<String>The topic of the room, if any.
world_readable: boolWhether the room may be viewed by guest users without joining.
guest_can_join: boolWhether guest users may join the room and participate in it.
If they can, they will be subject to ordinary power level rules like any other user.
avatar_url: Option<String>The URL for the room's avatar, if one is set.
Trait Implementations
impl Clone for PublicRoomsChunk
pub fn clone(&self) -> PublicRoomsChunk
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for PublicRoomsChunk
impl<'de> Deserialize<'de> for PublicRoomsChunk
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<PublicRoomsChunk, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
__deserializer: __D
) -> Result<PublicRoomsChunk, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl From<PublicRoomsChunkInit> for PublicRoomsChunk
pub fn from(init: PublicRoomsChunkInit) -> PublicRoomsChunk
impl Serialize for PublicRoomsChunk
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for PublicRoomsChunk[src]
impl Send for PublicRoomsChunk[src]
impl Sync for PublicRoomsChunk[src]
impl Unpin for PublicRoomsChunk[src]
impl UnwindSafe for PublicRoomsChunk[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> AsyncTraitDeps for T where
T: Send + Sync + Debug, [src]
T: Send + Sync + Debug,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,