pub struct LabelDefinition {
pub id: LabelId,
pub name: String,
}Expand description
Fields§
§id: LabelIdStable label identifier.
name: StringHuman-readable unique label name.
Trait Implementations§
Source§impl Clone for LabelDefinition
impl Clone for LabelDefinition
Source§fn clone(&self) -> LabelDefinition
fn clone(&self) -> LabelDefinition
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 LabelDefinition
impl Debug for LabelDefinition
Source§impl<'de> Deserialize<'de> for LabelDefinition
impl<'de> Deserialize<'de> for LabelDefinition
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 LabelDefinition
Source§impl PartialEq for LabelDefinition
impl PartialEq for LabelDefinition
Source§fn eq(&self, other: &LabelDefinition) -> bool
fn eq(&self, other: &LabelDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LabelDefinition
impl Serialize for LabelDefinition
impl StructuralPartialEq for LabelDefinition
Auto Trait Implementations§
impl Freeze for LabelDefinition
impl RefUnwindSafe for LabelDefinition
impl Send for LabelDefinition
impl Sync for LabelDefinition
impl Unpin for LabelDefinition
impl UnsafeUnpin for LabelDefinition
impl UnwindSafe for LabelDefinition
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