pub struct GetAndLockResponse {
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 GetAndLockResponse
impl Clone for GetAndLockResponse
Source§fn clone(&self) -> GetAndLockResponse
fn clone(&self) -> GetAndLockResponse
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 GetAndLockResponse
impl Debug for GetAndLockResponse
Source§impl Hash for GetAndLockResponse
impl Hash for GetAndLockResponse
Source§impl Ord for GetAndLockResponse
impl Ord for GetAndLockResponse
Source§fn cmp(&self, other: &GetAndLockResponse) -> Ordering
fn cmp(&self, other: &GetAndLockResponse) -> 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 GetAndLockResponse
impl PartialEq for GetAndLockResponse
Source§impl PartialOrd for GetAndLockResponse
impl PartialOrd for GetAndLockResponse
Source§impl TraceAttributes for GetAndLockResponse
impl TraceAttributes for GetAndLockResponse
fn server_duration(&self) -> Option<Duration>
impl Eq for GetAndLockResponse
impl StructuralPartialEq for GetAndLockResponse
Auto Trait Implementations§
impl !Freeze for GetAndLockResponse
impl RefUnwindSafe for GetAndLockResponse
impl Send for GetAndLockResponse
impl Sync for GetAndLockResponse
impl Unpin for GetAndLockResponse
impl UnsafeUnpin for GetAndLockResponse
impl UnwindSafe for GetAndLockResponse
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