pub struct BatchExpiresAfter {
pub anchor: String,
pub seconds: u32,
}Expand description
Retention of each output/error file from its creation.
Fields§
§anchor: StringSupported anchor: created_at.
seconds: u32Lifetime, 3600–2592000 seconds.
Implementations§
Source§impl BatchExpiresAfter
impl BatchExpiresAfter
Sourcepub fn created_at(seconds: u32) -> Self
pub fn created_at(seconds: u32) -> Self
Retain each result file for seconds after its creation.
Trait Implementations§
Source§impl Clone for BatchExpiresAfter
impl Clone for BatchExpiresAfter
Source§impl Debug for BatchExpiresAfter
impl Debug for BatchExpiresAfter
Source§impl<'de> Deserialize<'de> for BatchExpiresAfter
impl<'de> Deserialize<'de> for BatchExpiresAfter
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 BatchExpiresAfter
impl RefUnwindSafe for BatchExpiresAfter
impl Send for BatchExpiresAfter
impl Sync for BatchExpiresAfter
impl Unpin for BatchExpiresAfter
impl UnsafeUnpin for BatchExpiresAfter
impl UnwindSafe for BatchExpiresAfter
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