pub struct ContainerExpiresAfter {
pub anchor: ContainerExpiresAfterAnchor,
pub minutes: u32,
}Expand description
Expiration policy for containers.
Fields§
§anchor: ContainerExpiresAfterAnchorTime anchor for the expiration time. Currently only ‘last_active_at’ is supported.
minutes: u32Trait Implementations§
Source§impl Clone for ContainerExpiresAfter
impl Clone for ContainerExpiresAfter
Source§fn clone(&self) -> ContainerExpiresAfter
fn clone(&self) -> ContainerExpiresAfter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContainerExpiresAfter
impl Debug for ContainerExpiresAfter
Source§impl<'de> Deserialize<'de> for ContainerExpiresAfter
impl<'de> Deserialize<'de> for ContainerExpiresAfter
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
Source§impl PartialEq for ContainerExpiresAfter
impl PartialEq for ContainerExpiresAfter
Source§impl Serialize for ContainerExpiresAfter
impl Serialize for ContainerExpiresAfter
impl StructuralPartialEq for ContainerExpiresAfter
Auto Trait Implementations§
impl Freeze for ContainerExpiresAfter
impl RefUnwindSafe for ContainerExpiresAfter
impl Send for ContainerExpiresAfter
impl Sync for ContainerExpiresAfter
impl Unpin for ContainerExpiresAfter
impl UnwindSafe for ContainerExpiresAfter
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