Struct atrium_api::com::atproto::label::defs::LabelValueDefinitionStrings
source · pub struct LabelValueDefinitionStrings {
pub description: String,
pub lang: Language,
pub name: String,
}Expand description
Strings which describe the label in the UI, localized into a specific language.
Fields§
§description: StringA longer description of what the label means and why it might be applied.
lang: LanguageThe code of the language these strings are written in.
name: StringA short human-readable name for the label.
Trait Implementations§
source§impl Clone for LabelValueDefinitionStrings
impl Clone for LabelValueDefinitionStrings
source§fn clone(&self) -> LabelValueDefinitionStrings
fn clone(&self) -> LabelValueDefinitionStrings
Returns a copy 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 LabelValueDefinitionStrings
impl Debug for LabelValueDefinitionStrings
source§impl<'de> Deserialize<'de> for LabelValueDefinitionStrings
impl<'de> Deserialize<'de> for LabelValueDefinitionStrings
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 LabelValueDefinitionStrings
impl PartialEq for LabelValueDefinitionStrings
source§fn eq(&self, other: &LabelValueDefinitionStrings) -> bool
fn eq(&self, other: &LabelValueDefinitionStrings) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for LabelValueDefinitionStrings
impl StructuralPartialEq for LabelValueDefinitionStrings
Auto Trait Implementations§
impl Freeze for LabelValueDefinitionStrings
impl RefUnwindSafe for LabelValueDefinitionStrings
impl Send for LabelValueDefinitionStrings
impl Sync for LabelValueDefinitionStrings
impl Unpin for LabelValueDefinitionStrings
impl UnwindSafe for LabelValueDefinitionStrings
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