Enum ruma_events::presence::PresenceState
[−]
[src]
pub enum PresenceState { Offline, Online, Unavailable, }
A description of a user's connectivity and availability for chat.
Variants
Offline
Disconnected from the service.
Online
Connected to the service.
Connected to the service but not available for chat.
Trait Implementations
impl Clone for PresenceState
[src]
fn clone(&self) -> PresenceState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for PresenceState
[src]
impl Debug for PresenceState
[src]
impl PartialEq for PresenceState
[src]
fn eq(&self, __arg_0: &PresenceState) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Display for PresenceState
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more