pub struct TtlDoc {
pub min_seconds: Option<i64>,
pub max_seconds: Option<i64>,
pub fixed: bool,
pub note: String,
}Expand description
The lifetime envelope a provider allows, so a caller can see why it got the TTL it got instead of guessing.
Fields§
§min_seconds: Option<i64>§max_seconds: Option<i64>§fixed: boolTrue when the provider dictates one lifetime and ignores our request.
note: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TtlDoc
impl<'de> Deserialize<'de> for TtlDoc
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
Auto Trait Implementations§
impl Freeze for TtlDoc
impl RefUnwindSafe for TtlDoc
impl Send for TtlDoc
impl Sync for TtlDoc
impl Unpin for TtlDoc
impl UnsafeUnpin for TtlDoc
impl UnwindSafe for TtlDoc
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