pub enum SupportedHardware {
Any,
HardwareList(Vec<String>),
}Variants§
Trait Implementations§
Source§impl Clone for SupportedHardware
impl Clone for SupportedHardware
Source§fn clone(&self) -> SupportedHardware
fn clone(&self) -> SupportedHardware
Returns a duplicate 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 SupportedHardware
impl Debug for SupportedHardware
Source§impl Default for SupportedHardware
impl Default for SupportedHardware
Source§fn default() -> SupportedHardware
fn default() -> SupportedHardware
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SupportedHardware
impl<'de> Deserialize<'de> for SupportedHardware
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 PartialEq for SupportedHardware
impl PartialEq for SupportedHardware
impl Eq for SupportedHardware
impl StructuralPartialEq for SupportedHardware
Auto Trait Implementations§
impl Freeze for SupportedHardware
impl RefUnwindSafe for SupportedHardware
impl Send for SupportedHardware
impl Sync for SupportedHardware
impl Unpin for SupportedHardware
impl UnwindSafe for SupportedHardware
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