pub enum PublicRingHardwareType {
Gen1,
Gen2,
Gen2m,
Gen3,
Gen4,
Or5,
}Expand description
Possible ring hardware types.
JSON schema
{
"title": "PublicRingHardwareType",
"description": "Possible ring hardware types.",
"type": "string",
"enum": [
"gen1",
"gen2",
"gen2m",
"gen3",
"gen4",
"or5"
]
}Variants§
Trait Implementations§
Source§impl Clone for PublicRingHardwareType
impl Clone for PublicRingHardwareType
Source§fn clone(&self) -> PublicRingHardwareType
fn clone(&self) -> PublicRingHardwareType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PublicRingHardwareType
Source§impl Debug for PublicRingHardwareType
impl Debug for PublicRingHardwareType
Source§impl<'de> Deserialize<'de> for PublicRingHardwareType
impl<'de> Deserialize<'de> for PublicRingHardwareType
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 PublicRingHardwareType
impl Display for PublicRingHardwareType
impl Eq for PublicRingHardwareType
Source§impl FromStr for PublicRingHardwareType
impl FromStr for PublicRingHardwareType
Source§impl Hash for PublicRingHardwareType
impl Hash for PublicRingHardwareType
Source§impl Ord for PublicRingHardwareType
impl Ord for PublicRingHardwareType
Source§fn cmp(&self, other: &PublicRingHardwareType) -> Ordering
fn cmp(&self, other: &PublicRingHardwareType) -> Ordering
1.21.0 (const: unstable) · 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 PublicRingHardwareType
impl PartialEq for PublicRingHardwareType
Source§impl PartialOrd for PublicRingHardwareType
impl PartialOrd for PublicRingHardwareType
Source§impl Serialize for PublicRingHardwareType
impl Serialize for PublicRingHardwareType
impl StructuralPartialEq for PublicRingHardwareType
Source§impl TryFrom<&String> for PublicRingHardwareType
impl TryFrom<&String> for PublicRingHardwareType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for PublicRingHardwareType
impl TryFrom<&str> for PublicRingHardwareType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for PublicRingHardwareType
impl TryFrom<String> for PublicRingHardwareType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for PublicRingHardwareType
impl RefUnwindSafe for PublicRingHardwareType
impl Send for PublicRingHardwareType
impl Sync for PublicRingHardwareType
impl Unpin for PublicRingHardwareType
impl UnsafeUnpin for PublicRingHardwareType
impl UnwindSafe for PublicRingHardwareType
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