pub struct Project {Show 21 fields
pub id: String,
pub name: String,
pub color: String,
pub is_shared: bool,
pub is_favorite: bool,
pub inbox_project: bool,
pub view_style: String,
pub parent_id: Option<String>,
pub child_order: i32,
pub creator_uid: Option<String>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub is_archived: bool,
pub is_deleted: bool,
pub is_frozen: bool,
pub is_collapsed: bool,
pub can_assign_tasks: bool,
pub default_order: i32,
pub description: String,
pub public_key: String,
pub role: Option<String>,
}Expand description
Todoist Project model (API v1) Represents a project as returned by the Unified API v1 (PersonalProjectSyncView)
Fields§
§id: String§name: String§color: StringWhether the project is shared with other users
is_favorite: bool§inbox_project: boolWhether this is the inbox project
view_style: String§parent_id: Option<String>§child_order: i32Child order in the project list
creator_uid: Option<String>User ID of the project creator
created_at: Option<String>When the project was created (ISO 8601)
updated_at: Option<String>When the project was last updated (ISO 8601)
is_archived: boolWhether the project is archived
is_deleted: boolWhether the project is deleted
is_frozen: boolWhether the project is frozen (suspended)
is_collapsed: boolWhether the project is collapsed in the UI
can_assign_tasks: boolWhether tasks can be assigned to collaborators
default_order: i32Default order for tasks
description: StringProject description
public_key: StringPublic sharing key
role: Option<String>User’s role in the project (owner, editor, viewer)
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 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