pub struct FilterDetails {
pub _self: Option<String>,
pub id: Option<String>,
pub name: String,
pub description: Option<String>,
pub owner: Option<User>,
pub jql: Option<String>,
pub view_url: Option<String>,
pub search_url: Option<String>,
pub favourite: Option<bool>,
pub favourited_count: Option<i64>,
pub share_permissions: Option<Vec<SharePermission>>,
pub subscriptions: Option<Vec<FilterSubscription>>,
}Expand description
FilterDetails : Details of a filter.
Fields§
§_self: Option<String>The URL of the filter.
id: Option<String>The unique identifier for the filter.
name: StringThe name of the filter. Must be unique.
description: Option<String>A description of the filter.
owner: Option<User>The user who owns the filter. This is defaulted to the creator of the filter, however Jira administrators can change the owner of a shared filter in the admin settings.
jql: Option<String>The JQL query for the filter. For example, project = SSP AND issuetype = Bug.
view_url: Option<String>A URL to view the filter results in Jira, using the ID of the filter. For example, https://your-domain.atlassian.net/issues/?filter=10100.
search_url: Option<String>A URL to view the filter results in Jira, using the Search for issues using JQL operation with the filter’s JQL string to return the filter results. For example, https://your-domain.atlassian.net/rest/api/3/search?jql=project+%3D+SSP+AND+issuetype+%3D+Bug.
favourite: Option<bool>Whether the filter is selected as a favorite by any users, not including the filter owner.
favourited_count: Option<i64>The count of how many users have selected this filter as a favorite, including the filter owner.
The groups and projects that the filter is shared with. This can be specified when updating a filter, but not when creating a filter.
subscriptions: Option<Vec<FilterSubscription>>The users that are subscribed to the filter.
Implementations§
Source§impl FilterDetails
impl FilterDetails
Sourcepub fn new(name: String) -> FilterDetails
pub fn new(name: String) -> FilterDetails
Details of a filter.
Trait Implementations§
Source§impl Clone for FilterDetails
impl Clone for FilterDetails
Source§fn clone(&self) -> FilterDetails
fn clone(&self) -> FilterDetails
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more