pub struct FieldKey { /* private fields */ }Expand description
A field key is a valid key to a field.
This can be used for path parts keys, the parent key, etc.
§Validation
- The key must not be empty
- The first character of the key must be any ASCII alphabetic character or
_. - The remainder characters must be any ASCII alphanumeric character or
_. - Sections can be split with
.. The above rules then apply to each section.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldKey
impl<'de> Deserialize<'de> for FieldKey
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
impl Eq for FieldKey
impl StructuralPartialEq for FieldKey
Auto Trait Implementations§
impl Freeze for FieldKey
impl RefUnwindSafe for FieldKey
impl Send for FieldKey
impl Sync for FieldKey
impl Unpin for FieldKey
impl UnsafeUnpin for FieldKey
impl UnwindSafe for FieldKey
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> 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.