Struct twilight_model::gateway::presence::ClientStatus
source · pub struct ClientStatus {
pub desktop: Option<Status>,
pub mobile: Option<Status>,
pub web: Option<Status>,
}
Fields§
§desktop: Option<Status>
§mobile: Option<Status>
§web: Option<Status>
Trait Implementations§
source§impl Clone for ClientStatus
impl Clone for ClientStatus
source§fn clone(&self) -> ClientStatus
fn clone(&self) -> ClientStatus
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 ClientStatus
impl Debug for ClientStatus
source§impl<'de> Deserialize<'de> for ClientStatus
impl<'de> Deserialize<'de> for ClientStatus
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
source§impl Hash for ClientStatus
impl Hash for ClientStatus
source§impl PartialEq<ClientStatus> for ClientStatus
impl PartialEq<ClientStatus> for ClientStatus
source§fn eq(&self, other: &ClientStatus) -> bool
fn eq(&self, other: &ClientStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.