pub enum FreshnessPolicyKind {
Strict,
Standard,
Permissive,
}Expand description
Coarse policy band for a freshness contract.
Higher bands require shorter maximum ages and stricter signature matching, lowering the chance of reusing an identity that anti-bot vendors may have already catalogued.
Variants§
Strict
Shortest TTLs, signatures must match.
Standard
Default TTLs, signatures preferred but optional.
Permissive
Longer TTLs, best-effort validation.
Trait Implementations§
Source§impl Clone for FreshnessPolicyKind
impl Clone for FreshnessPolicyKind
Source§fn clone(&self) -> FreshnessPolicyKind
fn clone(&self) -> FreshnessPolicyKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FreshnessPolicyKind
impl Debug for FreshnessPolicyKind
Source§impl<'de> Deserialize<'de> for FreshnessPolicyKind
impl<'de> Deserialize<'de> for FreshnessPolicyKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for FreshnessPolicyKind
impl Hash for FreshnessPolicyKind
Source§impl PartialEq for FreshnessPolicyKind
impl PartialEq for FreshnessPolicyKind
Source§impl Serialize for FreshnessPolicyKind
impl Serialize for FreshnessPolicyKind
impl Copy for FreshnessPolicyKind
impl Eq for FreshnessPolicyKind
impl StructuralPartialEq for FreshnessPolicyKind
Auto Trait Implementations§
impl Freeze for FreshnessPolicyKind
impl RefUnwindSafe for FreshnessPolicyKind
impl Send for FreshnessPolicyKind
impl Sync for FreshnessPolicyKind
impl Unpin for FreshnessPolicyKind
impl UnsafeUnpin for FreshnessPolicyKind
impl UnwindSafe for FreshnessPolicyKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.