pub struct ContainerExpiresAfter {
pub anchor: Option<String>,
pub minutes: Option<u64>,
pub extra: BTreeMap<String, Value>,
}Expand description
表示 container 过期策略。
Fields§
§anchor: Option<String>锚点。
minutes: Option<u64>过期分钟数。
extra: BTreeMap<String, Value>额外字段。
Trait 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 Default for ContainerExpiresAfter
impl Default for ContainerExpiresAfter
Source§fn default() -> ContainerExpiresAfter
fn default() -> ContainerExpiresAfter
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
impl Freeze for ContainerExpiresAfter
impl RefUnwindSafe for ContainerExpiresAfter
impl Send for ContainerExpiresAfter
impl Sync for ContainerExpiresAfter
impl Unpin for ContainerExpiresAfter
impl UnsafeUnpin 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