pub struct ProjectLabelCreateInput {
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub color: Option<String>,
pub parent_id: Option<String>,
pub is_group: Option<bool>,
pub retired_at: Option<DateTime<Utc>>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
name: Option<String>The name of the label.
description: Option<String>The description of the label.
color: Option<String>The color of the label.
parent_id: Option<String>The identifier of the parent label.
is_group: Option<bool>Whether the label is a group.
retired_at: Option<DateTime<Utc>>When the label was retired.
Trait Implementations§
Source§impl Clone for ProjectLabelCreateInput
impl Clone for ProjectLabelCreateInput
Source§fn clone(&self) -> ProjectLabelCreateInput
fn clone(&self) -> ProjectLabelCreateInput
Returns a duplicate 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 ProjectLabelCreateInput
impl Debug for ProjectLabelCreateInput
Source§impl Default for ProjectLabelCreateInput
impl Default for ProjectLabelCreateInput
Source§fn default() -> ProjectLabelCreateInput
fn default() -> ProjectLabelCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectLabelCreateInput
impl<'de> Deserialize<'de> for ProjectLabelCreateInput
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
Auto Trait Implementations§
impl Freeze for ProjectLabelCreateInput
impl RefUnwindSafe for ProjectLabelCreateInput
impl Send for ProjectLabelCreateInput
impl Sync for ProjectLabelCreateInput
impl Unpin for ProjectLabelCreateInput
impl UnwindSafe for ProjectLabelCreateInput
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