pub struct Project {Show 17 fields
pub gid: String,
pub name: String,
pub resource_type: Option<String>,
pub notes: Option<String>,
pub color: Option<String>,
pub archived: bool,
pub public: Option<bool>,
pub due_on: Option<String>,
pub start_on: Option<String>,
pub created_at: Option<String>,
pub modified_at: Option<String>,
pub workspace: Option<WorkspaceReference>,
pub team: Option<WorkspaceReference>,
pub owner: Option<UserReference>,
pub members: Vec<ProjectMember>,
pub statuses: Vec<ProjectStatus>,
pub custom_fields: BTreeMap<String, Value>,
}Expand description
Full project payload returned from Asana.
Fields§
§gid: StringProject identifier.
name: StringDisplay name.
resource_type: Option<String>Resource type marker.
notes: Option<String>Optional description/notes.
color: Option<String>Color slug when assigned.
archived: boolWhether the project has been archived.
public: Option<bool>Visibility flag (public/private).
due_on: Option<String>ISO 8601 due date.
start_on: Option<String>ISO 8601 start date.
created_at: Option<String>Creation timestamp.
modified_at: Option<String>Last modification timestamp.
workspace: Option<WorkspaceReference>Owning workspace.
team: Option<WorkspaceReference>Owning team (Asana represents teams as workspaces with resource_type team).
owner: Option<UserReference>Project owner.
members: Vec<ProjectMember>Members when requested via opt_fields.
statuses: Vec<ProjectStatus>Recent status updates when requested separately.
custom_fields: BTreeMap<String, Value>Arbitrary custom fields.
Implementations§
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
impl Eq for Project
impl StructuralPartialEq for Project
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