[−][src]Struct ruma_client_api::r0::sync::sync_events::JoinedRoom
Updates to joined rooms.
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.summary: RoomSummaryInformation about the room which clients may need to correctly render it to users.
unread_notifications: UnreadNotificationsCountCounts of unread notifications for this room.
timeline: TimelineThe timeline of messages and state changes in the room.
state: StateUpdates to the state, between the time indicated by the since parameter, and the start
of the timeline (or all state up to the start of the timeline, if since is not
given, or full_state is true).
account_data: AccountDataThe private data that this user has attached to this room.
ephemeral: EphemeralThe ephemeral events in the room that aren't recorded in the timeline or state of the room. e.g. typing.
Implementations
impl JoinedRoom[src]
pub fn new() -> Self[src]
Creates an empty JoinedRoom.
pub fn is_empty(&self) -> bool[src]
Returns true if there are no updates in the room.
Trait Implementations
impl Clone for JoinedRoom[src]
pub fn clone(&self) -> JoinedRoom[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for JoinedRoom[src]
impl Default for JoinedRoom[src]
pub fn default() -> JoinedRoom[src]
impl<'de> Deserialize<'de> for JoinedRoom[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for JoinedRoom[src]
Auto Trait Implementations
impl RefUnwindSafe for JoinedRoom[src]
impl Send for JoinedRoom[src]
impl Sync for JoinedRoom[src]
impl Unpin for JoinedRoom[src]
impl UnwindSafe for JoinedRoom[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
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>,