pub struct InsertValues {
pub ttl: Option<u32>,
pub counter: Option<i32>,
}Expand description
Values to store with the fingerprint on insertion.
Fields§
§ttl: Option<u32>TTL to set for the fingerprint on insertion. This is ignored if the TTL configuration is not enabled.
counter: Option<i32>Counter to set to the fingerprint on insertion. This is ignored if the counter configuration is not enabled.
Trait Implementations§
Source§impl Default for InsertValues
impl Default for InsertValues
Source§fn default() -> InsertValues
fn default() -> InsertValues
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InsertValues
impl RefUnwindSafe for InsertValues
impl Send for InsertValues
impl Sync for InsertValues
impl Unpin for InsertValues
impl UnsafeUnpin for InsertValues
impl UnwindSafe for InsertValues
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