Struct ruma_push_gateway_api::send_event_notification::v1::NotificationCounts [−][src]
Expand description
Type for passing information about notification counts.
Fields
unread: UInt
The number of unread messages a user has across all of the rooms they are a member of.
missed_calls: UInt
The number of unacknowledged missed calls a user has across all rooms of which they are a member.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NotificationCounts
impl Send for NotificationCounts
impl Sync for NotificationCounts
impl Unpin for NotificationCounts
impl UnwindSafe for NotificationCounts
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more