Enum ruma_client_api::r0::sync::sync_events::SetPresence
source · pub enum SetPresence {
Offline,
}Expand description
Whether to set presence or not during sync.
Variants§
Offline
Do not set the presence of the user calling this API.
Trait Implementations§
source§impl Clone for SetPresence
impl Clone for SetPresence
source§fn clone(&self) -> SetPresence
fn clone(&self) -> SetPresence
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 SetPresence
impl Debug for SetPresence
source§impl<'de> Deserialize<'de> for SetPresence
impl<'de> Deserialize<'de> for SetPresence
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