pub struct LabelTemplate {
pub color: Option<String>,
pub description: Option<String>,
pub exclusive: Option<bool>,
pub name: Option<String>,
}
Expand description
LabelTemplate : LabelTemplate info of a Label template
Fields§
§color: Option<String>
§description: Option<String>
§exclusive: Option<bool>
§name: Option<String>
Implementations§
Source§impl LabelTemplate
impl LabelTemplate
Sourcepub fn new() -> LabelTemplate
pub fn new() -> LabelTemplate
LabelTemplate info of a Label template
Trait Implementations§
Source§impl Clone for LabelTemplate
impl Clone for LabelTemplate
Source§fn clone(&self) -> LabelTemplate
fn clone(&self) -> LabelTemplate
Returns a copy of the value. Read more
1.0.0 · 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 LabelTemplate
impl Debug for LabelTemplate
Source§impl Default for LabelTemplate
impl Default for LabelTemplate
Source§fn default() -> LabelTemplate
fn default() -> LabelTemplate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LabelTemplate
impl<'de> Deserialize<'de> for LabelTemplate
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
Source§impl PartialEq for LabelTemplate
impl PartialEq for LabelTemplate
Source§impl Serialize for LabelTemplate
impl Serialize for LabelTemplate
impl StructuralPartialEq for LabelTemplate
Auto Trait Implementations§
impl Freeze for LabelTemplate
impl RefUnwindSafe for LabelTemplate
impl Send for LabelTemplate
impl Sync for LabelTemplate
impl Unpin for LabelTemplate
impl UnwindSafe for LabelTemplate
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