pub struct Label {
pub color: LabelColor,
pub description: Option<String>,
pub exclusive: bool,
pub is_archived: bool,
}Expand description
Desired settings for one label.
Fields§
§color: LabelColorThe label color.
description: Option<String>The label description. Null and empty mean the same.
exclusive: boolWhether the label is scoped, so that an issue holds one label per scope. The scope is the part of the name before the last slash.
is_archived: boolWhether the label is archived and cannot be added to new issues.
Trait Implementations§
impl Eq for Label
impl StructuralPartialEq for Label
Auto Trait Implementations§
impl Freeze for Label
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnsafeUnpin for Label
impl UnwindSafe for Label
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.