pub struct StateWrite {
pub payload: Bytes,
pub expires_at: Option<SystemTime>,
}Expand description
Replacement data for a state CAS. None replacement means delete.
Fields§
§payload: Bytes§expires_at: Option<SystemTime>Trait Implementations§
Source§impl Clone for StateWrite
impl Clone for StateWrite
Source§impl Debug for StateWrite
impl Debug for StateWrite
impl Eq for StateWrite
Source§impl PartialEq for StateWrite
impl PartialEq for StateWrite
impl StructuralPartialEq for StateWrite
Auto Trait Implementations§
impl !Freeze for StateWrite
impl RefUnwindSafe for StateWrite
impl Send for StateWrite
impl Sync for StateWrite
impl Unpin for StateWrite
impl UnsafeUnpin for StateWrite
impl UnwindSafe for StateWrite
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