pub struct RecordKey(/* private fields */);Expand description
A validated record key.
Record keys are 1-512 character strings from the set [a-zA-Z0-9_~.:-],
and cannot be exactly "." or "..".
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RecordKey
impl<'de> Deserialize<'de> for RecordKey
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for RecordKey
impl Ord for RecordKey
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
Source§impl PartialOrd for RecordKey
impl PartialOrd for RecordKey
impl Eq for RecordKey
impl StructuralPartialEq for RecordKey
Auto Trait Implementations§
impl Freeze for RecordKey
impl RefUnwindSafe for RecordKey
impl Send for RecordKey
impl Sync for RecordKey
impl Unpin for RecordKey
impl UnsafeUnpin for RecordKey
impl UnwindSafe for RecordKey
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