pub struct RetentionDuration {
pub time_amount: u64,
pub time_unit: RetentionTimeUnit,
}Expand description
Retention Rule Duration
Fields§
§time_amount: u64Time amount
time_unit: RetentionTimeUnitTime unit (YEARS, DAYS)
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 · 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 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
Auto Trait Implementations§
impl Freeze for RetentionDuration
impl RefUnwindSafe for RetentionDuration
impl Send for RetentionDuration
impl Sync for RetentionDuration
impl Unpin for RetentionDuration
impl UnwindSafe for RetentionDuration
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