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