pub struct CreateLabelOption {
pub name: String,
pub color: String,
pub description: String,
pub exclusive: bool,
pub is_archived: bool,
}Expand description
CreateLabelOption, with every property the spec lists.
Fields§
§name: StringThe label’s name.
color: StringThe label’s color as six hexadecimal digits.
description: StringThe label’s description, empty for none.
exclusive: boolWhether the label is scoped.
is_archived: boolWhether the label is archived.
Implementations§
Trait Implementations§
Source§impl Clone for CreateLabelOption
impl Clone for CreateLabelOption
Source§fn clone(&self) -> CreateLabelOption
fn clone(&self) -> CreateLabelOption
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 CreateLabelOption
impl Debug for CreateLabelOption
impl Eq for CreateLabelOption
Source§impl<'ʄ> Facet<'ʄ> for CreateLabelOption
impl<'ʄ> Facet<'ʄ> for CreateLabelOption
Source§impl PartialEq for CreateLabelOption
impl PartialEq for CreateLabelOption
impl StructuralPartialEq for CreateLabelOption
Auto Trait Implementations§
impl Freeze for CreateLabelOption
impl RefUnwindSafe for CreateLabelOption
impl Send for CreateLabelOption
impl Sync for CreateLabelOption
impl Unpin for CreateLabelOption
impl UnsafeUnpin for CreateLabelOption
impl UnwindSafe for CreateLabelOption
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.