pub struct ProjectLabelCreateInput {
pub id: MaybeUndefined<String>,
pub name: String,
pub description: MaybeUndefined<String>,
pub color: MaybeUndefined<String>,
pub parent_id: MaybeUndefined<String>,
pub is_group: MaybeUndefined<bool>,
pub retired_at: MaybeUndefined<DateTime<Utc>>,
}Expand description
Input for creating a new project label. A name is required. The label is created as a workspace-level label available to all projects.
Fields§
§id: MaybeUndefined<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
name: StringThe name of the label.
description: MaybeUndefined<String>The description of the label.
color: MaybeUndefined<String>The color of the label.
parent_id: MaybeUndefined<String>The identifier of the parent label.
is_group: MaybeUndefined<bool>Whether the label is a group.
retired_at: MaybeUndefined<DateTime<Utc>>The time at which the label was retired. Set to null to restore a retired label.
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 UnsafeUnpin 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