pub struct Ttl {
pub strategy: Option<Strategy>,
pub ttl: Option<f64>,
}Expand description
Ttl : The time-to-live for the thread.
Fields§
§strategy: Option<Strategy>The TTL strategy. ‘delete’ removes the entire thread.
ttl: Option<f64>The time-to-live in minutes from now until thread should be swept.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ttl
impl<'de> Deserialize<'de> for Ttl
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
impl StructuralPartialEq for Ttl
Auto Trait Implementations§
impl Freeze for Ttl
impl RefUnwindSafe for Ttl
impl Send for Ttl
impl Sync for Ttl
impl Unpin for Ttl
impl UnwindSafe for Ttl
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