pub struct Label {
pub id: String,
pub name: String,
pub type: String,
pub message_list_visibility: Option<String>,
pub label_list_visibility: Option<String>,
pub color: Option<Box<LabelColor>>,
}Fields§
§id: String§name: String§type: StringProvider-specific label type. Common values: system, user. Not enumerated to avoid forcing a breaking change every time a provider adds one.
message_list_visibility: Option<String>§label_list_visibility: Option<String>§color: Option<Box<LabelColor>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Label
impl<'de> Deserialize<'de> for Label
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 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