pub struct GraphMember {
pub graph_subject: GraphSubject,
pub domain: Option<String>,
pub mail_address: Option<String>,
pub principal_name: Option<String>,
}
Fields§
§graph_subject: GraphSubject
§domain: Option<String>
This represents the name of the container of origin for a graph member. (For MSA this is “Windows Live ID”, for AD the name of the domain, for AAD the tenantID of the directory, for VSTS groups the ScopeId, etc)
mail_address: Option<String>
The email address of record for a given graph member. This may be different than the principal name.
principal_name: Option<String>
This is the PrincipalName of this graph member from the source provider. The source provider may change this field over time and it is not guaranteed to be immutable for the life of the graph member by VSTS.
Implementations§
Source§impl GraphMember
impl GraphMember
Trait Implementations§
Source§impl Clone for GraphMember
impl Clone for GraphMember
Source§fn clone(&self) -> GraphMember
fn clone(&self) -> GraphMember
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 GraphMember
impl Debug for GraphMember
Source§impl Default for GraphMember
impl Default for GraphMember
Source§fn default() -> GraphMember
fn default() -> GraphMember
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphMember
impl<'de> Deserialize<'de> for GraphMember
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 GraphMember
impl PartialEq for GraphMember
Source§impl Serialize for GraphMember
impl Serialize for GraphMember
impl StructuralPartialEq for GraphMember
Auto Trait Implementations§
impl Freeze for GraphMember
impl RefUnwindSafe for GraphMember
impl Send for GraphMember
impl Sync for GraphMember
impl Unpin for GraphMember
impl UnwindSafe for GraphMember
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