Struct asana::models::project_base::ProjectBase
source · [−]pub struct ProjectBase {Show 19 fields
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: Option<String>,
pub archived: Option<bool>,
pub color: Option<Color>,
pub created_at: Option<String>,
pub current_status: Option<Box<ProjectStatusResponse>>,
pub custom_field_settings: Option<Vec<CustomFieldSettingCompact>>,
pub default_view: Option<DefaultView>,
pub due_date: Option<String>,
pub due_on: Option<String>,
pub html_notes: Option<String>,
pub is_template: Option<bool>,
pub members: Option<Vec<UserCompact>>,
pub modified_at: Option<String>,
pub notes: Option<String>,
pub public: Option<bool>,
pub start_on: Option<String>,
pub workspace: Option<Box<WorkspaceCompact>>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
name: Option<String>
Name of the project. This is generally a short sentence fragment that fits on a line in the UI for maximum readability. However, it can be longer.
archived: Option<bool>
True if the project is archived, false if not. Archived projects do not show in the UI by default and may be treated differently for queries.
color: Option<Color>
Color of the project.
created_at: Option<String>
The time at which this resource was created.
current_status: Option<Box<ProjectStatusResponse>>
custom_field_settings: Option<Vec<CustomFieldSettingCompact>>
Array of Custom Field Settings (in compact form).
default_view: Option<DefaultView>
The default view (list, board, calendar, or timeline) of a project.
due_date: Option<String>
Deprecated: new integrations should prefer the due_on field.
due_on: Option<String>
The day on which this project is due. This takes a date with format YYYY-MM-DD.
html_notes: Option<String>
Opt In. The notes of the project with formatting as HTML.
is_template: Option<bool>
Opt In. Determines if the project is a template.
members: Option<Vec<UserCompact>>
Array of users who are members of this project.
modified_at: Option<String>
The time at which this project was last modified. Note: This does not currently reflect any changes in associations such as tasks or comments that may have been added or removed from the project.
notes: Option<String>
More detailed, free-form textual information associated with the project.
public: Option<bool>
True if the project is public to the organization. If false, do not share this project with other users in this organization without explicitly checking to see if they have access.
start_on: Option<String>
The day on which work for this project begins, or null if the project has no start date. This takes a date with YYYY-MM-DD
format. Note: due_on
or due_at
must be present in the request when setting or unsetting the start_on
parameter. Additionally, start_on and due_on cannot be the same date.
workspace: Option<Box<WorkspaceCompact>>
Implementations
sourceimpl ProjectBase
impl ProjectBase
pub fn new() -> ProjectBase
Trait Implementations
sourceimpl Clone for ProjectBase
impl Clone for ProjectBase
sourcefn clone(&self) -> ProjectBase
fn clone(&self) -> ProjectBase
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more