pub struct EnumNumberType {
pub values: Vec<EnumNumberValue>,
pub kind: NumberKind,
}Fields§
§values: Vec<EnumNumberValue>§kind: NumberKindTrait Implementations§
Source§impl Clone for EnumNumberType
impl Clone for EnumNumberType
Source§fn clone(&self) -> EnumNumberType
fn clone(&self) -> EnumNumberType
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 moreSource§impl Debug for EnumNumberType
impl Debug for EnumNumberType
Source§impl<'de> Deserialize<'de> for EnumNumberType
impl<'de> Deserialize<'de> for EnumNumberType
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 EnumNumberType
impl PartialEq for EnumNumberType
Source§fn eq(&self, other: &EnumNumberType) -> bool
fn eq(&self, other: &EnumNumberType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnumNumberType
impl Serialize for EnumNumberType
impl StructuralPartialEq for EnumNumberType
Auto Trait Implementations§
impl Freeze for EnumNumberType
impl RefUnwindSafe for EnumNumberType
impl Send for EnumNumberType
impl Sync for EnumNumberType
impl Unpin for EnumNumberType
impl UnsafeUnpin for EnumNumberType
impl UnwindSafe for EnumNumberType
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