#[non_exhaustive]pub struct Project {Show 19 fields
pub id: ProjectId,
pub name: String,
pub slug_id: String,
pub url: String,
pub description: String,
pub content: Option<String>,
pub status: ProjectStatus,
pub health: Option<ProjectHealth>,
pub priority: Priority,
pub progress: f64,
pub start_date: Option<TimelessDate>,
pub target_date: Option<TimelessDate>,
pub lead: Option<UserRef>,
pub teams: Vec<TeamRef>,
pub created_at: OffsetDateTime,
pub updated_at: OffsetDateTime,
pub completed_at: Option<OffsetDateTime>,
pub canceled_at: Option<OffsetDateTime>,
pub archived_at: Option<OffsetDateTime>,
}Expand description
A Linear project.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: ProjectIdProject ID.
name: StringProject name.
slug_id: StringURL slug identifier, e.g. "sdk-v1-8f2a1c0d3b4e".
url: StringCanonical URL of the project in the Linear app.
description: StringShort description (empty string when unset).
content: Option<String>Long-form markdown content, when set.
status: ProjectStatusCurrent project status.
health: Option<ProjectHealth>Health as of the latest project update, when reported.
priority: PriorityProject priority.
progress: f64Completion progress in 0.0..=1.0.
start_date: Option<TimelessDate>Planned start date.
target_date: Option<TimelessDate>Planned target date.
lead: Option<UserRef>Project lead, when assigned.
teams: Vec<TeamRef>Teams the project belongs to (first 25).
created_at: OffsetDateTimeWhen the project was created.
updated_at: OffsetDateTimeWhen the project was last updated.
completed_at: Option<OffsetDateTime>When the project was completed, if it was.
canceled_at: Option<OffsetDateTime>When the project was canceled, if it was.
archived_at: Option<OffsetDateTime>When the project was archived, if it was.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
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 Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnsafeUnpin for Project
impl UnwindSafe for Project
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