Struct pedis_core::Value
source · pub struct Value {
pub kind: ValueKind,
pub data: Vec<u8>,
}Expand description
Represents a value in our storage interface
Fields§
§kind: ValueKindThe kind of data stored in this value
data: Vec<u8>The data as an array of bytes
Implementations§
Trait Implementations§
source§impl PartialEq for Value
impl PartialEq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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