pub struct Favorite {Show 35 fields
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub type: Option<String>,
pub parent: Option<Box<Favorite>>,
pub folder_name: Option<String>,
pub project_tab: Option<ProjectTab>,
pub predefined_view_type: Option<String>,
pub initiative_tab: Option<InitiativeTab>,
pub owner: Option<Box<User>>,
pub sort_order: Option<f64>,
pub children: Option<Box<FavoriteConnection>>,
pub issue: Option<Box<Issue>>,
pub project: Option<Box<Project>>,
pub facet: Option<Box<Facet>>,
pub project_team: Option<Box<Team>>,
pub cycle: Option<Box<Cycle>>,
pub custom_view: Option<Box<CustomView>>,
pub predefined_view_team: Option<Box<Team>>,
pub document: Option<Box<Document>>,
pub initiative: Option<Box<Initiative>>,
pub label: Option<Box<IssueLabel>>,
pub project_label: Option<Box<ProjectLabel>>,
pub user: Option<Box<User>>,
pub customer: Option<Box<Customer>>,
pub dashboard: Option<Box<Dashboard>>,
pub pull_request: Option<Box<PullRequest>>,
pub release: Option<Box<Release>>,
pub release_pipeline: Option<Box<ReleasePipeline>>,
pub url: Option<String>,
pub title: Option<String>,
pub detail: Option<String>,
pub color: Option<String>,
pub icon: Option<String>,
}Expand description
User favorites presented in the sidebar.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
type: Option<String>The type of the favorite.
parent: Option<Box<Favorite>>The parent folder of the favorite.
folder_name: Option<String>The name of the folder. Only applies to favorites of type folder.
project_tab: Option<ProjectTab>The targeted tab of the project.
predefined_view_type: Option<String>The type of favorited predefined view.
initiative_tab: Option<InitiativeTab>The targeted tab of the initiative.
owner: Option<Box<User>>The owner of the favorite.
sort_order: Option<f64>The order of the item in the favorites list.
children: Option<Box<FavoriteConnection>>Children of the favorite. Only applies to favorites of type folder.
issue: Option<Box<Issue>>The favorited issue.
project: Option<Box<Project>>The favorited project.
facet: Option<Box<Facet>>INTERNAL The favorited facet.
project_team: Option<Box<Team>>DEPRECATED The favorited team of the project.
cycle: Option<Box<Cycle>>The favorited cycle.
custom_view: Option<Box<CustomView>>The favorited custom view.
predefined_view_team: Option<Box<Team>>The team of the favorited predefined view.
document: Option<Box<Document>>The favorited document.
initiative: Option<Box<Initiative>>The favorited initiative.
label: Option<Box<IssueLabel>>The favorited label.
project_label: Option<Box<ProjectLabel>>The favorited project label.
user: Option<Box<User>>The favorited user.
customer: Option<Box<Customer>>The favorited customer.
dashboard: Option<Box<Dashboard>>The favorited dashboard.
pull_request: Option<Box<PullRequest>>The favorited pull request.
release: Option<Box<Release>>ALPHA The favorited release.
release_pipeline: Option<Box<ReleasePipeline>>ALPHA The favorited release pipeline.
url: Option<String>URL of the favorited entity. Folders return ‘null’ value.
title: Option<String>Internal Favorite’s title text (name of the favorite’d object or folder).
detail: Option<String>Internal Detail text for favorite’s title (e.g. team’s name for a project).
color: Option<String>Internal Returns the color of the favorite’s icon. Unavailable for avatars and views with fixed icons (e.g. cycle).
icon: Option<String>Internal Name of the favorite’s icon. Unavailable for standard views, issues, and avatars