pub struct ApplicationRole {
pub key: Option<String>,
pub groups: Option<Vec<String>>,
pub name: Option<String>,
pub default_groups: Option<Vec<String>>,
pub selected_by_default: Option<bool>,
pub defined: Option<bool>,
pub number_of_seats: Option<i32>,
pub remaining_seats: Option<i32>,
pub user_count: Option<i32>,
pub user_count_description: Option<String>,
pub has_unlimited_seats: Option<bool>,
pub platform: Option<bool>,
}
Expand description
ApplicationRole : Details of an application role.
Fields§
§key: Option<String>
The key of the application role.
groups: Option<Vec<String>>
The groups associated with the application role.
name: Option<String>
The display name of the application role.
default_groups: Option<Vec<String>>
The groups that are granted default access for this application role.
selected_by_default: Option<bool>
Determines whether this application role should be selected by default on user creation.
defined: Option<bool>
Deprecated.
number_of_seats: Option<i32>
The maximum count of users on your license.
remaining_seats: Option<i32>
The count of users remaining on your license.
user_count: Option<i32>
The number of users counting against your license.
user_count_description: Option<String>
The type of users being counted against your license.
has_unlimited_seats: Option<bool>
§platform: Option<bool>
Indicates if the application role belongs to Jira platform (jira-core
).
Implementations§
Source§impl ApplicationRole
impl ApplicationRole
Sourcepub fn new() -> ApplicationRole
pub fn new() -> ApplicationRole
Details of an application role.
Trait Implementations§
Source§impl Clone for ApplicationRole
impl Clone for ApplicationRole
Source§fn clone(&self) -> ApplicationRole
fn clone(&self) -> ApplicationRole
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ApplicationRole
impl Debug for ApplicationRole
Source§impl Default for ApplicationRole
impl Default for ApplicationRole
Source§fn default() -> ApplicationRole
fn default() -> ApplicationRole
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApplicationRole
impl<'de> Deserialize<'de> for ApplicationRole
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
Source§impl PartialEq for ApplicationRole
impl PartialEq for ApplicationRole
Source§impl Serialize for ApplicationRole
impl Serialize for ApplicationRole
impl StructuralPartialEq for ApplicationRole
Auto Trait Implementations§
impl Freeze for ApplicationRole
impl RefUnwindSafe for ApplicationRole
impl Send for ApplicationRole
impl Sync for ApplicationRole
impl Unpin for ApplicationRole
impl UnwindSafe for ApplicationRole
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