pub struct ValueEntry {
pub key: Bytes,
pub value: Bytes,
pub flags: u32,
pub cas: Option<u64>,
}Expand description
A single value entry for get/gets responses.
Fields§
§key: Bytes§value: Bytes§flags: u32§cas: Option<u64>Trait Implementations§
Source§impl Clone for ValueEntry
impl Clone for ValueEntry
Source§fn clone(&self) -> ValueEntry
fn clone(&self) -> ValueEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValueEntry
impl Debug for ValueEntry
Source§impl IntoResponse for ValueEntry
impl IntoResponse for ValueEntry
fn into_response(self) -> Response
Auto Trait Implementations§
impl !Freeze for ValueEntry
impl RefUnwindSafe for ValueEntry
impl Send for ValueEntry
impl Sync for ValueEntry
impl Unpin for ValueEntry
impl UnwindSafe for ValueEntry
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