#[repr(u8)]pub enum WiredCurrentType {
Ac = 0,
Dc = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WiredCurrentType
impl Clone for WiredCurrentType
Source§fn clone(&self) -> WiredCurrentType
fn clone(&self) -> WiredCurrentType
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 WiredCurrentType
impl Debug for WiredCurrentType
Source§impl<'de> Deserialize<'de> for WiredCurrentType
impl<'de> Deserialize<'de> for WiredCurrentType
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 From<WiredCurrentType> for u8
impl From<WiredCurrentType> for u8
Source§fn from(val: WiredCurrentType) -> Self
fn from(val: WiredCurrentType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WiredCurrentType
impl PartialEq for WiredCurrentType
Source§impl Serialize for WiredCurrentType
impl Serialize for WiredCurrentType
impl Copy for WiredCurrentType
impl Eq for WiredCurrentType
impl StructuralPartialEq for WiredCurrentType
Auto Trait Implementations§
impl Freeze for WiredCurrentType
impl RefUnwindSafe for WiredCurrentType
impl Send for WiredCurrentType
impl Sync for WiredCurrentType
impl Unpin for WiredCurrentType
impl UnwindSafe for WiredCurrentType
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