pub struct InterpretedLabelValueDefinition {
pub adult_only: bool,
pub blurs: LabelValueDefinitionBlurs,
pub default_setting: LabelPreference,
pub identifier: String,
pub locales: Vec<LabelValueDefinitionStrings>,
pub severity: LabelValueDefinitionSeverity,
pub defined_by: Option<Did>,
pub configurable: bool,
pub flags: Vec<LabelValueDefinitionFlag>,
pub behaviors: InterpretedLabelValueDefinitionBehaviors,
}Expand description
A label value definition.
Fields§
§adult_only: bool§blurs: LabelValueDefinitionBlurs§default_setting: LabelPreference§identifier: String§locales: Vec<LabelValueDefinitionStrings>§severity: LabelValueDefinitionSeverity§defined_by: Option<Did>§configurable: bool§flags: Vec<LabelValueDefinitionFlag>§behaviors: InterpretedLabelValueDefinitionBehaviorsTrait Implementations§
Source§impl Clone for InterpretedLabelValueDefinition
impl Clone for InterpretedLabelValueDefinition
Source§fn clone(&self) -> InterpretedLabelValueDefinition
fn clone(&self) -> InterpretedLabelValueDefinition
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<'de> Deserialize<'de> for InterpretedLabelValueDefinition
impl<'de> Deserialize<'de> for InterpretedLabelValueDefinition
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 InterpretedLabelValueDefinition
impl RefUnwindSafe for InterpretedLabelValueDefinition
impl Send for InterpretedLabelValueDefinition
impl Sync for InterpretedLabelValueDefinition
impl Unpin for InterpretedLabelValueDefinition
impl UnwindSafe for InterpretedLabelValueDefinition
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