Struct azure_devops_rust_api::artifacts::models::FeedPermission
source · pub struct FeedPermission {
pub display_name: Option<String>,
pub identity_descriptor: Option<IdentityDescriptor>,
pub identity_id: Option<String>,
pub is_inherited_role: Option<bool>,
pub role: Option<Role>,
}Expand description
Permissions for a feed.
Fields§
§display_name: Option<String>Display name for the identity.
identity_descriptor: Option<IdentityDescriptor>An Identity descriptor is a wrapper for the identity type (Windows SID, Passport) along with a unique identifier such as the SID or PUID.
identity_id: Option<String>Id of the identity associated with this role.
is_inherited_role: Option<bool>Boolean indicating whether the role is inherited or set directly.
role: Option<Role>The role for this identity on a feed.
Implementations§
Trait Implementations§
source§impl Clone for FeedPermission
impl Clone for FeedPermission
source§fn clone(&self) -> FeedPermission
fn clone(&self) -> FeedPermission
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 FeedPermission
impl Debug for FeedPermission
source§impl Default for FeedPermission
impl Default for FeedPermission
source§fn default() -> FeedPermission
fn default() -> FeedPermission
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FeedPermission
impl<'de> Deserialize<'de> for FeedPermission
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<FeedPermission> for FeedPermission
impl PartialEq<FeedPermission> for FeedPermission
source§fn eq(&self, other: &FeedPermission) -> bool
fn eq(&self, other: &FeedPermission) -> bool
This method tests for
self and other values to be equal, and is used
by ==.