pub struct Freshness {
pub ttl: Duration,
pub policy: CachePolicy,
}Expand description
Freshness evaluation derived from HTTP headers and registry policy.
Fields§
§ttl: DurationEffective time-to-live allowed for the JWKS payload. Clamped TTL in seconds, derived from HTTP Cache-Control and registry bounds.
policy: CachePolicyHTTP cache policy describing future request handling.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Freshness
impl RefUnwindSafe for Freshness
impl Send for Freshness
impl Sync for Freshness
impl Unpin for Freshness
impl UnwindSafe for Freshness
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