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<Box<ProjectConnection>>,
pub children: Option<Box<ProjectLabelConnection>>,
}Expand description
Labels that can be associated with 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.
is_group: Option<bool>Whether the label is a group.
last_applied_at: Option<DateTime<Utc>>The date when the label was last applied to an issue or project.
retired_at: Option<DateTime<Utc>>Internal When the label was retired.
organization: Option<Box<Organization>>§creator: Option<Box<User>>The user who created the label.
retired_by: Option<Box<User>>The user who retired the label.
parent: Option<Box<ProjectLabel>>The parent label.
projects: Option<Box<ProjectConnection>>Projects associated with the label.
children: Option<Box<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
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 ProjectLabel
impl Debug for ProjectLabel
Source§impl Default for ProjectLabel
impl Default for ProjectLabel
Source§fn default() -> ProjectLabel
fn default() -> ProjectLabel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectLabelwhere
ProjectLabel: Default,
impl<'de> Deserialize<'de> for ProjectLabelwhere
ProjectLabel: Default,
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 GraphQLFields for ProjectLabel
impl GraphQLFields for ProjectLabel
Auto Trait Implementations§
impl Freeze for ProjectLabel
impl RefUnwindSafe for ProjectLabel
impl Send for ProjectLabel
impl Sync for ProjectLabel
impl Unpin for ProjectLabel
impl UnwindSafe for ProjectLabel
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