pub struct Value {
pub kind: ValueKind,
pub data: Vec<u8>,
}
Expand description
Represents a value in our storage interface
Fields§
§kind: ValueKind
The kind of data stored in this value
data: Vec<u8>
The data as an array of bytes
Implementations§
Trait Implementations§
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