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
Generic
Ios
Android
Linux
Windows
MacOS
Trait Implementations
sourceimpl Clone for PresenceOs
impl Clone for PresenceOs
sourcefn clone(&self) -> PresenceOs
fn clone(&self) -> PresenceOs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PresenceOs
impl Debug for PresenceOs
sourceimpl<'de> Deserialize<'de> for PresenceOs
impl<'de> Deserialize<'de> for PresenceOs
sourcefn 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
sourceimpl Display for PresenceOs
impl Display for PresenceOs
sourceimpl Hash for PresenceOs
impl Hash for PresenceOs
sourceimpl PartialEq<PresenceOs> for PresenceOs
impl PartialEq<PresenceOs> for PresenceOs
sourcefn eq(&self, other: &PresenceOs) -> bool
fn eq(&self, other: &PresenceOs) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn 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
fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Applies the [
Compat
] adapter by shared reference. Read morefn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Applies the [
Compat
] adapter by mutable reference. Read moreimpl<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