pub struct EnumValueId(pub u16);Expand description
Index of an enumeration literal in Schema::enum_values.
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl Clone for EnumValueId
impl Clone for EnumValueId
impl Copy for EnumValueId
Source§impl Debug for EnumValueId
impl Debug for EnumValueId
impl Eq for EnumValueId
Source§impl From<EnumValueId> for Value
impl From<EnumValueId> for Value
Source§fn from(e: EnumValueId) -> Value
fn from(e: EnumValueId) -> Value
Converts to this type from the input type.
Source§impl Hash for EnumValueId
impl Hash for EnumValueId
Source§impl Ord for EnumValueId
impl Ord for EnumValueId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EnumValueId
impl PartialEq for EnumValueId
Source§impl PartialOrd for EnumValueId
impl PartialOrd for EnumValueId
impl StructuralPartialEq for EnumValueId
Auto Trait Implementations§
impl Forget for EnumValueId
impl Freeze for EnumValueId
impl Move for EnumValueId
impl RefUnwindSafe for EnumValueId
impl Send for EnumValueId
impl Sync for EnumValueId
impl Unpin for EnumValueId
impl UnsafeUnpin for EnumValueId
impl UnwindSafe for EnumValueId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.