pub enum QueriesPatchOp {
Put {
hash: String,
ttl: Option<f64>,
},
Del {
hash: String,
},
Clear,
}Expand description
A change to a set of queries as zero-cache sends it (patchOpSchema).
Variants§
Trait Implementations§
Source§impl Clone for QueriesPatchOp
impl Clone for QueriesPatchOp
Source§impl Debug for QueriesPatchOp
impl Debug for QueriesPatchOp
Source§impl JsonCodable for QueriesPatchOp
impl JsonCodable for QueriesPatchOp
Source§impl PartialEq for QueriesPatchOp
impl PartialEq for QueriesPatchOp
impl StructuralPartialEq for QueriesPatchOp
Auto Trait Implementations§
impl Forget for QueriesPatchOp
impl Freeze for QueriesPatchOp
impl Move for QueriesPatchOp
impl RefUnwindSafe for QueriesPatchOp
impl Send for QueriesPatchOp
impl Sync for QueriesPatchOp
impl Unpin for QueriesPatchOp
impl UnsafeUnpin for QueriesPatchOp
impl UnwindSafe for QueriesPatchOp
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