pub struct GetResponse {
pub cas: u64,
pub flags: u32,
pub value: Bytes,
pub datatype: u8,
pub server_duration: Option<Duration>,
}Fields§
§cas: u64§flags: u32§value: Bytes§datatype: u8§server_duration: Option<Duration>Trait Implementations§
Source§impl Clone for GetResponse
impl Clone for GetResponse
Source§fn clone(&self) -> GetResponse
fn clone(&self) -> GetResponse
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 GetResponse
impl Debug for GetResponse
Source§impl Hash for GetResponse
impl Hash for GetResponse
Source§impl Ord for GetResponse
impl Ord for GetResponse
Source§fn cmp(&self, other: &GetResponse) -> Ordering
fn cmp(&self, other: &GetResponse) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GetResponse
impl PartialEq for GetResponse
Source§impl PartialOrd for GetResponse
impl PartialOrd for GetResponse
Source§impl TraceAttributes for GetResponse
impl TraceAttributes for GetResponse
fn server_duration(&self) -> Option<Duration>
Source§impl TryFromClientResponse for GetResponse
impl TryFromClientResponse for GetResponse
impl Eq for GetResponse
impl StructuralPartialEq for GetResponse
Auto Trait Implementations§
impl !Freeze for GetResponse
impl RefUnwindSafe for GetResponse
impl Send for GetResponse
impl Sync for GetResponse
impl Unpin for GetResponse
impl UnsafeUnpin for GetResponse
impl UnwindSafe for GetResponse
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