pub struct Project {Show 23 fields
pub id: u64,
pub name: String,
pub identifier: String,
pub description: Option<String>,
pub homepage: Option<String>,
pub is_public: Option<bool>,
pub parent: Option<ProjectEssentials>,
pub inherit_members: Option<bool>,
pub default_assignee: Option<AssigneeEssentials>,
pub default_version: Option<VersionEssentials>,
pub default_version_id: Option<u64>,
pub tracker_ids: Option<Vec<u64>>,
pub enabled_module_names: Option<Vec<String>>,
pub issue_custom_field_id: Option<Vec<u64>>,
pub custom_field_values: Option<HashMap<u64, String>>,
pub status: u64,
pub created_on: OffsetDateTime,
pub updated_on: OffsetDateTime,
pub issue_categories: Option<Vec<IssueCategoryEssentials>>,
pub time_entry_activities: Option<Vec<TimeEntryActivityEssentials>>,
pub enabled_modules: Option<Vec<Module>>,
pub trackers: Option<Vec<TrackerEssentials>>,
pub issue_custom_fields: Option<Vec<CustomFieldName>>,
}Expand description
a type for projects to use as an API return type
alternatively you can use your own type limited to the fields you need
Fields§
§id: u64numeric id
name: Stringdisplay name
identifier: StringURL slug
description: Option<String>description
homepage: Option<String>the project homepage
is_public: Option<bool>is the project public (visible to anonymous users)
parent: Option<ProjectEssentials>the parent project (id and name)
inherit_members: Option<bool>will the project inherit members from its ancestors
default_assignee: Option<AssigneeEssentials>the default user/group issues in this project are assigned to
default_version: Option<VersionEssentials>the default version for issues in this project
default_version_id: Option<u64>ID of the default version. It works only with existing shared versions
tracker_ids: Option<Vec<u64>>trackers to enable in the project
enabled_module_names: Option<Vec<String>>modules to enable in the project
issue_custom_field_id: Option<Vec<u64>>custom issue fields to enable in the project
custom_field_values: Option<HashMap<u64, String>>values for custom fields
status: u64archived or not?
created_on: OffsetDateTimeThe time when this project was created
updated_on: OffsetDateTimeThe time when this project was last updated
issue_categories: Option<Vec<IssueCategoryEssentials>>issue categories (only with include parameter)
time_entry_activities: Option<Vec<TimeEntryActivityEssentials>>time entry activities (only with include parameter)
enabled_modules: Option<Vec<Module>>enabled modules in this project (only with include parameter)
trackers: Option<Vec<TrackerEssentials>>trackers in this project (only with include parameter)
issue_custom_fields: Option<Vec<CustomFieldName>>custom field ids and names in this project (only with include parameter)