Enum dittolive_ditto::transport::PresenceOs
source · pub enum PresenceOs {
Generic,
Ios,
Android,
Linux,
Windows,
MacOS,
}
Expand description
Operating system used by a given peer.
Variants§
Trait Implementations§
source§impl Clone for PresenceOs
impl Clone for PresenceOs
source§fn clone(&self) -> PresenceOs
fn clone(&self) -> PresenceOs
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 PresenceOs
impl Debug for PresenceOs
source§impl<'de> Deserialize<'de> for PresenceOs
impl<'de> Deserialize<'de> for PresenceOs
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 Display for PresenceOs
impl Display for PresenceOs
source§impl Hash for PresenceOs
impl Hash for PresenceOs
source§impl PartialEq<PresenceOs> for PresenceOs
impl PartialEq<PresenceOs> for PresenceOs
source§fn eq(&self, other: &PresenceOs) -> bool
fn eq(&self, other: &PresenceOs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PresenceOs
impl Serialize for PresenceOs
impl Eq for PresenceOs
impl StructuralEq for PresenceOs
impl StructuralPartialEq for PresenceOs
Auto Trait Implementations§
impl RefUnwindSafe for PresenceOs
impl Send for PresenceOs
impl Sync for PresenceOs
impl Unpin for PresenceOs
impl UnwindSafe for PresenceOs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more