pub struct GetWithHashFound {
pub value: Vec<u8>,
pub hash: Vec<u8>,
}Expand description
Result of a get-with-hash operation. Contains both the value and its hash.
Fields§
§value: Vec<u8>The value stored at the key.
hash: Vec<u8>The hash of the value.
Trait Implementations§
Source§impl Clone for GetWithHashFound
impl Clone for GetWithHashFound
Source§fn clone(&self) -> GetWithHashFound
fn clone(&self) -> GetWithHashFound
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GetWithHashFound
impl RefUnwindSafe for GetWithHashFound
impl Send for GetWithHashFound
impl Sync for GetWithHashFound
impl Unpin for GetWithHashFound
impl UnsafeUnpin for GetWithHashFound
impl UnwindSafe for GetWithHashFound
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