pub struct MetaResponse {
pub code: MetaCode,
pub value: Option<Bytes>,
pub cas: Option<u64>,
pub flags: Option<u32>,
pub ttl: Option<i64>,
pub size: Option<usize>,
pub hit: Option<bool>,
pub last_access: Option<u64>,
pub extra: MetaExtra,
}Expand description
Meta response payload.
Fields§
§code: MetaCode§value: Option<Bytes>§cas: Option<u64>§flags: Option<u32>§ttl: Option<i64>§size: Option<usize>§hit: Option<bool>§last_access: Option<u64>§extra: MetaExtraImplementations§
Trait Implementations§
Source§impl Clone for MetaResponse
impl Clone for MetaResponse
Source§fn clone(&self) -> MetaResponse
fn clone(&self) -> MetaResponse
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 MetaResponse
impl Debug for MetaResponse
Source§impl IntoResponse for MetaResponse
impl IntoResponse for MetaResponse
fn into_response(self) -> Response
Auto Trait Implementations§
impl !Freeze for MetaResponse
impl RefUnwindSafe for MetaResponse
impl Send for MetaResponse
impl Sync for MetaResponse
impl Unpin for MetaResponse
impl UnwindSafe for MetaResponse
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