pub struct Value {
pub key: Vec<u8>,
pub cas: Option<u64>,
pub flags: Option<u32>,
pub data: Option<Vec<u8>>,
}
Expand description
A value from memcached generated by an ASCII protocol response.
Fields§
§key: Vec<u8>
The key.
cas: Option<u64>
CAS identifier.
flags: Option<u32>
Flags for this key. Defaults to 0.
data: Option<Vec<u8>>
Data for this key.
Trait Implementations§
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