#[repr(i64)]pub enum ClientType {
All = 0,
Web = 1,
Browser = 2,
Desktop = 3,
Mobile = 4,
}
Expand description
Variants§
Trait Implementations§
Source§impl Clone for ClientType
impl Clone for ClientType
Source§fn clone(&self) -> ClientType
fn clone(&self) -> ClientType
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 ClientType
impl Debug for ClientType
Source§impl Default for ClientType
impl Default for ClientType
Source§fn default() -> ClientType
fn default() -> ClientType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClientType
impl<'de> Deserialize<'de> for ClientType
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 ClientType
impl Display for ClientType
Source§impl Hash for ClientType
impl Hash for ClientType
Source§impl Ord for ClientType
impl Ord for ClientType
Source§fn cmp(&self, other: &ClientType) -> Ordering
fn cmp(&self, other: &ClientType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ClientType
impl PartialEq for ClientType
Source§impl PartialOrd for ClientType
impl PartialOrd for ClientType
Source§impl Serialize for ClientType
impl Serialize for ClientType
impl Copy for ClientType
impl Eq for ClientType
impl StructuralPartialEq for ClientType
Auto Trait Implementations§
impl Freeze for ClientType
impl RefUnwindSafe for ClientType
impl Send for ClientType
impl Sync for ClientType
impl Unpin for ClientType
impl UnwindSafe for ClientType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.