pub struct BytesKey {
pub value: Vec<u8>,
pub original: String,
}
Fields§
§value: Vec<u8>
§original: String
Implementations§
Trait Implementations§
Source§impl From<&BytesKey> for BytesValue
impl From<&BytesKey> for BytesValue
Source§impl From<BytesKey> for BytesValue
impl From<BytesKey> for BytesValue
Source§impl InterpretableFrom<&str> for BytesKey
impl InterpretableFrom<&str> for BytesKey
fn interpret_from(from: &str, context: &InterpreterContext) -> Self
Source§impl InterpretableFrom<String> for BytesKey
impl InterpretableFrom<String> for BytesKey
fn interpret_from(from: String, context: &InterpreterContext) -> Self
Source§impl Ord for BytesKey
impl Ord for BytesKey
Source§impl PartialOrd for BytesKey
impl PartialOrd for BytesKey
impl Eq for BytesKey
Auto Trait Implementations§
impl Freeze for BytesKey
impl RefUnwindSafe for BytesKey
impl Send for BytesKey
impl Sync for BytesKey
impl Unpin for BytesKey
impl UnwindSafe for BytesKey
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.Source§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more