Enum cyfs_lib::DeviceZoneCategory
source · #[repr(u8)]
pub enum DeviceZoneCategory {
CurrentDevice,
CurrentZone,
FriendZone,
OtherZone,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for DeviceZoneCategory
impl Clone for DeviceZoneCategory
source§fn clone(&self) -> DeviceZoneCategory
fn clone(&self) -> DeviceZoneCategory
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 DeviceZoneCategory
impl Debug for DeviceZoneCategory
source§impl<'de> Deserialize<'de> for DeviceZoneCategory
impl<'de> Deserialize<'de> for DeviceZoneCategory
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 FromStr for DeviceZoneCategory
impl FromStr for DeviceZoneCategory
source§impl Into<AccessGroup> for DeviceZoneCategory
impl Into<AccessGroup> for DeviceZoneCategory
source§fn into(self) -> AccessGroup
fn into(self) -> AccessGroup
Converts this type into the (usually inferred) input type.
source§impl Ord for DeviceZoneCategory
impl Ord for DeviceZoneCategory
source§fn cmp(&self, other: &DeviceZoneCategory) -> Ordering
fn cmp(&self, other: &DeviceZoneCategory) -> 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<DeviceZoneCategory> for DeviceZoneCategory
impl PartialEq<DeviceZoneCategory> for DeviceZoneCategory
source§fn eq(&self, other: &DeviceZoneCategory) -> bool
fn eq(&self, other: &DeviceZoneCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DeviceZoneCategory> for DeviceZoneCategory
impl PartialOrd<DeviceZoneCategory> for DeviceZoneCategory
source§fn partial_cmp(&self, other: &DeviceZoneCategory) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceZoneCategory) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more