pub struct RetentionRule {
pub id: String,
pub display_name: String,
pub duration: Option<RetentionDuration>,
pub time_rule_locked: Option<String>,
pub time_created: String,
pub time_modified: String,
pub etag: String,
}Expand description
Retention Rule
Fields§
§id: StringRetention Rule ID
display_name: StringDisplay name
duration: Option<RetentionDuration>Duration
time_rule_locked: Option<String>Time rule locked
time_created: StringTime created
time_modified: StringTime modified
etag: StringETag
Implementations§
Source§impl RetentionRule
impl RetentionRule
Trait Implementations§
Source§impl Clone for RetentionRule
impl Clone for RetentionRule
Source§fn clone(&self) -> RetentionRule
fn clone(&self) -> RetentionRule
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 RetentionRule
impl Debug for RetentionRule
Source§impl<'de> Deserialize<'de> for RetentionRule
impl<'de> Deserialize<'de> for RetentionRule
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 RetentionRule
impl RefUnwindSafe for RetentionRule
impl Send for RetentionRule
impl Sync for RetentionRule
impl Unpin for RetentionRule
impl UnwindSafe for RetentionRule
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