Struct rusoto_dlm::CrossRegionCopyRetainRule [−][src]
pub struct CrossRegionCopyRetainRule { pub interval: Option<i64>, pub interval_unit: Option<String>, }
Expand description
Specifies the retention rule for cross-Region snapshot copies.
Fields
interval: Option<i64>
The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
interval_unit: Option<String>
The unit of time for time-based retention.
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CrossRegionCopyRetainRule
impl Send for CrossRegionCopyRetainRule
impl Sync for CrossRegionCopyRetainRule
impl Unpin for CrossRegionCopyRetainRule
impl UnwindSafe for CrossRegionCopyRetainRule
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self