pub struct RetentionMetadata {
pub templates: Option<Vec<RetentionRuleMetadata>>,
pub scope_selectors: Option<Vec<RetentionSelectorMetadata>>,
pub tag_selectors: Option<Vec<RetentionSelectorMetadata>>,
}Expand description
RetentionMetadata : the tag retention metadata
Fields§
§templates: Option<Vec<RetentionRuleMetadata>>templates
scope_selectors: Option<Vec<RetentionSelectorMetadata>>supported scope selectors
tag_selectors: Option<Vec<RetentionSelectorMetadata>>supported tag selectors
Implementations§
Source§impl RetentionMetadata
impl RetentionMetadata
Sourcepub fn new() -> RetentionMetadata
pub fn new() -> RetentionMetadata
the tag retention metadata
Trait Implementations§
Source§impl Clone for RetentionMetadata
impl Clone for RetentionMetadata
Source§fn clone(&self) -> RetentionMetadata
fn clone(&self) -> RetentionMetadata
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 moreSource§impl Debug for RetentionMetadata
impl Debug for RetentionMetadata
Source§impl Default for RetentionMetadata
impl Default for RetentionMetadata
Source§fn default() -> RetentionMetadata
fn default() -> RetentionMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RetentionMetadata
impl<'de> Deserialize<'de> for RetentionMetadata
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
Source§impl PartialEq for RetentionMetadata
impl PartialEq for RetentionMetadata
Source§fn eq(&self, other: &RetentionMetadata) -> bool
fn eq(&self, other: &RetentionMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RetentionMetadata
impl Serialize for RetentionMetadata
impl StructuralPartialEq for RetentionMetadata
Auto Trait Implementations§
impl Freeze for RetentionMetadata
impl RefUnwindSafe for RetentionMetadata
impl Send for RetentionMetadata
impl Sync for RetentionMetadata
impl Unpin for RetentionMetadata
impl UnsafeUnpin for RetentionMetadata
impl UnwindSafe for RetentionMetadata
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