pub struct ProjectRoleDetails {
pub param_self: Option<String>,
pub name: Option<String>,
pub id: Option<i64>,
pub description: Option<String>,
pub admin: Option<bool>,
pub scope: Option<Scope>,
pub role_configurable: Option<bool>,
pub translated_name: Option<String>,
pub default: Option<bool>,
}
Expand description
ProjectRoleDetails : Details about a project role.
Fields§
§param_self: Option<String>
The URL the project role details.
name: Option<String>
The name of the project role.
id: Option<i64>
The ID of the project role.
description: Option<String>
The description of the project role.
admin: Option<bool>
Whether this role is the admin role for the project.
scope: Option<Scope>
The scope of the role. Indicated for roles associated with next-gen projects.
role_configurable: Option<bool>
Whether the roles are configurable for this project.
translated_name: Option<String>
The translated name of the project role.
default: Option<bool>
Whether this role is the default role for the project.
Implementations§
Source§impl ProjectRoleDetails
impl ProjectRoleDetails
Sourcepub fn new() -> ProjectRoleDetails
pub fn new() -> ProjectRoleDetails
Details about a project role.
Trait Implementations§
Source§impl Clone for ProjectRoleDetails
impl Clone for ProjectRoleDetails
Source§fn clone(&self) -> ProjectRoleDetails
fn clone(&self) -> ProjectRoleDetails
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 ProjectRoleDetails
impl Debug for ProjectRoleDetails
Source§impl Default for ProjectRoleDetails
impl Default for ProjectRoleDetails
Source§fn default() -> ProjectRoleDetails
fn default() -> ProjectRoleDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectRoleDetails
impl<'de> Deserialize<'de> for ProjectRoleDetails
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 ProjectRoleDetails
impl PartialEq for ProjectRoleDetails
Source§impl Serialize for ProjectRoleDetails
impl Serialize for ProjectRoleDetails
impl StructuralPartialEq for ProjectRoleDetails
Auto Trait Implementations§
impl Freeze for ProjectRoleDetails
impl RefUnwindSafe for ProjectRoleDetails
impl Send for ProjectRoleDetails
impl Sync for ProjectRoleDetails
impl Unpin for ProjectRoleDetails
impl UnwindSafe for ProjectRoleDetails
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