pub enum Component<'a> {
Uuid(Uuid),
FixedLengthString(&'a str),
Identifier(Identifier),
Json(&'a Json),
}
Expand description
A byte-serializable value, frequently employed in the keys of key/value store.
Variants§
Uuid(Uuid)
A UUID.
FixedLengthString(&'a str)
A fixed length string.
Identifier(Identifier)
An identifier.
Json(&'a Json)
A JSON value.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Component<'a>
impl<'a> RefUnwindSafe for Component<'a>
impl<'a> Send for Component<'a>
impl<'a> Sync for Component<'a>
impl<'a> Unpin for Component<'a>
impl<'a> UnwindSafe for Component<'a>
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