pub enum VariantTag {
U8(u8),
U16(u16),
U32(u32),
U64(u64),
}Variants§
Trait Implementations§
Source§impl Clone for VariantTag
impl Clone for VariantTag
Source§fn clone(&self) -> VariantTag
fn clone(&self) -> VariantTag
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 VariantTag
impl Debug for VariantTag
Source§impl<'de> Deserialize<'de> for VariantTag
impl<'de> Deserialize<'de> for VariantTag
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 VariantTag
impl PartialEq for VariantTag
Source§impl Serialize for VariantTag
impl Serialize for VariantTag
impl StructuralPartialEq for VariantTag
Auto Trait Implementations§
impl Freeze for VariantTag
impl RefUnwindSafe for VariantTag
impl Send for VariantTag
impl Sync for VariantTag
impl Unpin for VariantTag
impl UnwindSafe for VariantTag
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