Struct azure_devops_rust_api::security_roles::models::SecurityRole
source · pub struct SecurityRole {
pub allow_permissions: Option<i32>,
pub deny_permissions: Option<i32>,
pub description: Option<String>,
pub display_name: Option<String>,
pub identifier: Option<String>,
pub name: Option<String>,
pub scope: Option<String>,
}
Expand description
Fields§
§allow_permissions: Option<i32>
Permissions the role is allowed.
deny_permissions: Option<i32>
Permissions the role is denied.
description: Option<String>
Description of user access defined by the role
display_name: Option<String>
User friendly name of the role.
identifier: Option<String>
Globally unique identifier for the role.
name: Option<String>
Unique name of the role in the scope.
scope: Option<String>
Returns the id of the ParentScope.
Implementations§
source§impl SecurityRole
impl SecurityRole
Trait Implementations§
source§impl Clone for SecurityRole
impl Clone for SecurityRole
source§fn clone(&self) -> SecurityRole
fn clone(&self) -> SecurityRole
Returns a copy 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 SecurityRole
impl Debug for SecurityRole
source§impl Default for SecurityRole
impl Default for SecurityRole
source§fn default() -> SecurityRole
fn default() -> SecurityRole
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SecurityRole
impl<'de> Deserialize<'de> for SecurityRole
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 SecurityRole
impl PartialEq for SecurityRole
source§fn eq(&self, other: &SecurityRole) -> bool
fn eq(&self, other: &SecurityRole) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SecurityRole
impl Serialize for SecurityRole
impl StructuralPartialEq for SecurityRole
Auto Trait Implementations§
impl Freeze for SecurityRole
impl RefUnwindSafe for SecurityRole
impl Send for SecurityRole
impl Sync for SecurityRole
impl Unpin for SecurityRole
impl UnwindSafe for SecurityRole
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