pub struct RetentionSelectorMetadata {
pub display_text: Option<String>,
pub kind: Option<String>,
pub decorations: Option<Vec<String>>,
}Expand description
RetentionSelectorMetadata : retention selector
Fields§
§display_text: Option<String>§kind: Option<String>§decorations: Option<Vec<String>>Implementations§
Source§impl RetentionSelectorMetadata
impl RetentionSelectorMetadata
Sourcepub fn new() -> RetentionSelectorMetadata
pub fn new() -> RetentionSelectorMetadata
retention selector
Trait Implementations§
Source§impl Clone for RetentionSelectorMetadata
impl Clone for RetentionSelectorMetadata
Source§fn clone(&self) -> RetentionSelectorMetadata
fn clone(&self) -> RetentionSelectorMetadata
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 RetentionSelectorMetadata
impl Debug for RetentionSelectorMetadata
Source§impl Default for RetentionSelectorMetadata
impl Default for RetentionSelectorMetadata
Source§fn default() -> RetentionSelectorMetadata
fn default() -> RetentionSelectorMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RetentionSelectorMetadata
impl<'de> Deserialize<'de> for RetentionSelectorMetadata
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 StructuralPartialEq for RetentionSelectorMetadata
Auto Trait Implementations§
impl Freeze for RetentionSelectorMetadata
impl RefUnwindSafe for RetentionSelectorMetadata
impl Send for RetentionSelectorMetadata
impl Sync for RetentionSelectorMetadata
impl Unpin for RetentionSelectorMetadata
impl UnwindSafe for RetentionSelectorMetadata
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