Struct leveldb_orm::EncodedKey
source · [−]Expand description
The key for leveldb, which impled db_key::Key. (db-key 0.0.5 only impl it for i32)
You can serialize you key to Vec
Fields
inner: Vec<u8>Trait Implementations
sourceimpl<T: Debug + 'static> Debug for EncodedKey<T>
impl<T: Debug + 'static> Debug for EncodedKey<T>
sourceimpl<'a, T> From<&[u8]> for EncodedKey<T>
impl<'a, T> From<&[u8]> for EncodedKey<T>
sourceimpl<T> Key for EncodedKey<T>
impl<T> Key for EncodedKey<T>
sourceimpl<T: PartialEq + 'static> PartialEq<EncodedKey<T>> for EncodedKey<T>
impl<T: PartialEq + 'static> PartialEq<EncodedKey<T>> for EncodedKey<T>
sourcefn eq(&self, other: &EncodedKey<T>) -> bool
fn eq(&self, other: &EncodedKey<T>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &EncodedKey<T>) -> bool
fn ne(&self, other: &EncodedKey<T>) -> bool
This method tests for !=.
impl<T: 'static> StructuralPartialEq for EncodedKey<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for EncodedKey<T> where
T: RefUnwindSafe,
impl<T> Send for EncodedKey<T> where
T: Send,
impl<T> Sync for EncodedKey<T> where
T: Sync,
impl<T> Unpin for EncodedKey<T> where
T: Unpin,
impl<T> UnwindSafe for EncodedKey<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more