Struct azure_devops_rust_api::tfvc::models::IdentityRef
source · pub struct IdentityRef {
pub graph_subject_base: GraphSubjectBase,
pub directory_alias: Option<String>,
pub id: String,
pub image_url: Option<String>,
pub inactive: Option<bool>,
pub is_aad_identity: Option<bool>,
pub is_container: Option<bool>,
pub is_deleted_in_origin: Option<bool>,
pub profile_url: Option<String>,
pub unique_name: String,
}Expand description
Fields§
§graph_subject_base: GraphSubjectBase§directory_alias: Option<String>Deprecated - Can be retrieved by querying the Graph user referenced in the “self” entry of the IdentityRef “_links” dictionary
id: String§image_url: Option<String>Deprecated - Available in the “avatar” entry of the IdentityRef “_links” dictionary
inactive: Option<bool>Deprecated - Can be retrieved by querying the Graph membership state referenced in the “membershipState” entry of the GraphUser “_links” dictionary
is_aad_identity: Option<bool>Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsAadUserType/Descriptor.IsAadGroupType)
is_container: Option<bool>Deprecated - Can be inferred from the subject type of the descriptor (Descriptor.IsGroupType)
is_deleted_in_origin: Option<bool>§profile_url: Option<String>Deprecated - not in use in most preexisting implementations of ToIdentityRef
unique_name: StringDeprecated - use Domain+PrincipalName instead
Implementations§
Trait Implementations§
source§impl Clone for IdentityRef
impl Clone for IdentityRef
source§fn clone(&self) -> IdentityRef
fn clone(&self) -> IdentityRef
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 IdentityRef
impl Debug for IdentityRef
source§impl<'de> Deserialize<'de> for IdentityRef
impl<'de> Deserialize<'de> for IdentityRef
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<IdentityRef> for IdentityRef
impl PartialEq<IdentityRef> for IdentityRef
source§fn eq(&self, other: &IdentityRef) -> bool
fn eq(&self, other: &IdentityRef) -> bool
This method tests for
self and other values to be equal, and is used
by ==.