pub struct KindKey(/* private fields */);Expand description
Unique kind key type.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KindKey
impl<'de> Deserialize<'de> for KindKey
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 Key for KindKey
impl Key for KindKey
Source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!, which calls this
method). Read moreSource§impl Ord for KindKey
impl Ord for KindKey
Source§impl PartialOrd for KindKey
impl PartialOrd for KindKey
impl Copy for KindKey
impl Eq for KindKey
impl StructuralPartialEq for KindKey
Auto Trait Implementations§
impl Freeze for KindKey
impl RefUnwindSafe for KindKey
impl Send for KindKey
impl Sync for KindKey
impl Unpin for KindKey
impl UnsafeUnpin for KindKey
impl UnwindSafe for KindKey
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<FieldKey> FieldValue<FieldKey> for FieldKeywhere
FieldKey: Key,
impl<FieldKey> FieldValue<FieldKey> for FieldKeywhere
FieldKey: Key,
Source§impl<FieldKey> FieldWithoutSubValue<FieldKey> for FieldKeywhere
FieldKey: Key,
impl<FieldKey> FieldWithoutSubValue<FieldKey> for FieldKeywhere
FieldKey: Key,
Source§fn insert_field(&mut self, field: FieldKey) -> bool
fn insert_field(&mut self, field: FieldKey) -> bool
Set or insert this field in the value. Returns whether it was newly inserted.
Source§fn remove_field(&mut self, field: FieldKey) -> bool
fn remove_field(&mut self, field: FieldKey) -> bool
Remove field. Returns if anything was removed.