Struct azure_devops_rust_api::artifacts::models::GlobalPermission
source · pub struct GlobalPermission {
pub identity_descriptor: Option<String>,
pub identity_id: Option<String>,
pub role: Option<Role>,
}
Expand description
Permissions for feed service-wide operations such as the creation of new feeds.
Fields§
§identity_descriptor: Option<String>
Identity of the user with the provided Role.
identity_id: Option<String>
IdentityId corresponding to the IdentityDescriptor
role: Option<Role>
Role associated with the Identity.
Implementations§
Trait Implementations§
source§impl Clone for GlobalPermission
impl Clone for GlobalPermission
source§fn clone(&self) -> GlobalPermission
fn clone(&self) -> GlobalPermission
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 GlobalPermission
impl Debug for GlobalPermission
source§impl Default for GlobalPermission
impl Default for GlobalPermission
source§fn default() -> GlobalPermission
fn default() -> GlobalPermission
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GlobalPermission
impl<'de> Deserialize<'de> for GlobalPermission
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 GlobalPermission
impl PartialEq for GlobalPermission
source§fn eq(&self, other: &GlobalPermission) -> bool
fn eq(&self, other: &GlobalPermission) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GlobalPermission
impl Serialize for GlobalPermission
impl StructuralPartialEq for GlobalPermission
Auto Trait Implementations§
impl RefUnwindSafe for GlobalPermission
impl Send for GlobalPermission
impl Sync for GlobalPermission
impl Unpin for GlobalPermission
impl UnwindSafe for GlobalPermission
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