pub struct KeyExpirationConfig {
pub default_expires_in: Option<f64>,
pub disable_custom_expires_time: bool,
pub max_expires_in: f64,
pub min_expires_in: f64,
}Expand description
Key expiration constraints.
Fields§
§default_expires_in: Option<f64>Default expiresIn (in seconds) when none is provided. None = no default.
disable_custom_expires_time: boolIf true, clients cannot set a custom expiresIn.
max_expires_in: f64Maximum expiresIn in days.
min_expires_in: f64Minimum expiresIn in days.
Trait Implementations§
Source§impl Clone for KeyExpirationConfig
impl Clone for KeyExpirationConfig
Source§impl Debug for KeyExpirationConfig
impl Debug for KeyExpirationConfig
Auto Trait Implementations§
impl Freeze for KeyExpirationConfig
impl RefUnwindSafe for KeyExpirationConfig
impl Send for KeyExpirationConfig
impl Sync for KeyExpirationConfig
impl Unpin for KeyExpirationConfig
impl UnsafeUnpin for KeyExpirationConfig
impl UnwindSafe for KeyExpirationConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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