pub struct Key(/* private fields */);Implementations§
Trait Implementations§
Source§impl From<DatabaseInnerKeyValue> for Key
impl From<DatabaseInnerKeyValue> for Key
Source§fn from(data: DatabaseInnerKeyValue) -> Self
fn from(data: DatabaseInnerKeyValue) -> Self
Converts to this type from the input type.
Source§impl Value for Key
impl Value for Key
Source§type SelfType<'a> = Key
type SelfType<'a> = Key
SelfType<’a> must be the same type as Self with all lifetimes replaced with ’a
type AsBytes<'a> = &'a [u8] where Self: 'a
Source§fn fixed_width() -> Option<usize>
fn fixed_width() -> Option<usize>
Width of a fixed type, or None for variable width
Source§fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>where
Self: 'a,
fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>where
Self: 'a,
Deserializes data
Implementations may return a view over data, or an owned type
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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