pub struct RetentionDuration {
pub unit: RetentionDurationUnit,
pub value: i32,
}Expand description
Positive and unambiguous bucket default retention duration.
Fields§
§unit: RetentionDurationUnitDuration unit.
value: i32Positive unit count accepted by the S3 API.
Implementations§
Trait Implementations§
Source§impl Clone for RetentionDuration
impl Clone for RetentionDuration
Source§fn clone(&self) -> RetentionDuration
fn clone(&self) -> RetentionDuration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RetentionDuration
Source§impl Debug for RetentionDuration
impl Debug for RetentionDuration
Source§impl<'de> Deserialize<'de> for RetentionDuration
impl<'de> Deserialize<'de> for RetentionDuration
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 Eq for RetentionDuration
Source§impl PartialEq for RetentionDuration
impl PartialEq for RetentionDuration
Source§impl Serialize for RetentionDuration
impl Serialize for RetentionDuration
impl StructuralPartialEq for RetentionDuration
Auto Trait Implementations§
impl Freeze for RetentionDuration
impl RefUnwindSafe for RetentionDuration
impl Send for RetentionDuration
impl Sync for RetentionDuration
impl Unpin for RetentionDuration
impl UnsafeUnpin for RetentionDuration
impl UnwindSafe for RetentionDuration
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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