pub struct LabelMetadata {
pub title: CompactString,
pub description: Option<CompactString>,
}Fields§
§title: CompactString§description: Option<CompactString>Trait Implementations§
Source§impl Clone for LabelMetadata
impl Clone for LabelMetadata
Source§fn clone(&self) -> LabelMetadata
fn clone(&self) -> LabelMetadata
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 LabelMetadata
impl Debug for LabelMetadata
Source§impl<'de> Deserialize<'de> for LabelMetadata
impl<'de> Deserialize<'de> for LabelMetadata
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 Eq for LabelMetadata
Source§impl PartialEq for LabelMetadata
impl PartialEq for LabelMetadata
Source§fn eq(&self, other: &LabelMetadata) -> bool
fn eq(&self, other: &LabelMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LabelMetadata
impl Serialize for LabelMetadata
impl StructuralPartialEq for LabelMetadata
Auto Trait Implementations§
impl Freeze for LabelMetadata
impl RefUnwindSafe for LabelMetadata
impl Send for LabelMetadata
impl Sync for LabelMetadata
impl Unpin for LabelMetadata
impl UnsafeUnpin for LabelMetadata
impl UnwindSafe for LabelMetadata
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