pub struct ProjectLabel {Show 16 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub name: Option<String>,
pub description: Option<String>,
pub color: Option<String>,
pub is_group: Option<bool>,
pub last_applied_at: Option<DateTime<Utc>>,
pub retired_at: Option<DateTime<Utc>>,
pub organization: Option<Box<Organization>>,
pub creator: Option<Box<User>>,
pub retired_by: Option<Box<User>>,
pub parent: Option<Box<ProjectLabel>>,
pub projects: Option<ProjectConnection>,
pub children: Option<ProjectLabelConnection>,
}Expand description
A label that can be applied to projects for categorization. Project labels are workspace-level and can be organized into groups with a parent-child hierarchy. Only child labels (not group labels) can be directly applied to projects.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
name: Option<String>The label’s name.
description: Option<String>The label’s description.
color: Option<String>The label’s color as a HEX string (e.g., ‘#EB5757’). Used for visual identification of the label in the UI.
is_group: Option<bool>Whether the label is a group. When true, this label acts as a container for child labels and cannot be directly applied to issues or projects. When false, the label can be directly applied.
last_applied_at: Option<DateTime<Utc>>The date when the label was last applied to an issue or project. Null if the label has never been applied.
retired_at: Option<DateTime<Utc>>Internal When the label was retired.
organization: Option<Box<Organization>>The workspace that the project label belongs to.
creator: Option<Box<User>>The user who created the label.
retired_by: Option<Box<User>>The user who retired the label. Retired labels cannot be applied to new projects but remain on existing ones. Null if the label is active.
parent: Option<Box<ProjectLabel>>The parent label group. If set, this label is a child within a group. Only one child label from each group can be applied to a project at a time.
projects: Option<ProjectConnection>Projects associated with the label.
children: Option<ProjectLabelConnection>Children of the label.
Trait Implementations§
Source§impl Clone for ProjectLabel
impl Clone for ProjectLabel
Source§fn clone(&self) -> ProjectLabel
fn clone(&self) -> ProjectLabel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more