pub struct Set {
pub key: String,
pub value: Vec<u8>,
pub ttl: Option<u32>,
}
Expand description
Actix message writes cache backend value by key.
Fields§
§key: String
Key of cache backend record.
value: Vec<u8>
Data for sorage by cache key.
ttl: Option<u32>
Optional value of time-to-live for cache record.
Trait Implementations§
impl StructuralPartialEq for Set
Auto Trait Implementations§
impl Freeze for Set
impl RefUnwindSafe for Set
impl Send for Set
impl Sync for Set
impl Unpin for Set
impl UnwindSafe for Set
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