pub struct GraphUserPrincipalNameUpdateContext {
pub graph_user_update_context: GraphUserUpdateContext,
pub principal_name: Option<String>,
}Expand description
Use this type for transfering identity rights, for instance after performing a Tenant switch.
Fields§
§graph_user_update_context: GraphUserUpdateContext§principal_name: Option<String>This should be Principal Name (UPN) to which we want to transfer rights. Example: destination@email.com
Implementations§
Trait Implementations§
source§impl Clone for GraphUserPrincipalNameUpdateContext
impl Clone for GraphUserPrincipalNameUpdateContext
source§fn clone(&self) -> GraphUserPrincipalNameUpdateContext
fn clone(&self) -> GraphUserPrincipalNameUpdateContext
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 Default for GraphUserPrincipalNameUpdateContext
impl Default for GraphUserPrincipalNameUpdateContext
source§fn default() -> GraphUserPrincipalNameUpdateContext
fn default() -> GraphUserPrincipalNameUpdateContext
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GraphUserPrincipalNameUpdateContext
impl<'de> Deserialize<'de> for GraphUserPrincipalNameUpdateContext
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 GraphUserPrincipalNameUpdateContext
impl PartialEq for GraphUserPrincipalNameUpdateContext
source§fn eq(&self, other: &GraphUserPrincipalNameUpdateContext) -> bool
fn eq(&self, other: &GraphUserPrincipalNameUpdateContext) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GraphUserPrincipalNameUpdateContext
Auto Trait Implementations§
impl Freeze for GraphUserPrincipalNameUpdateContext
impl RefUnwindSafe for GraphUserPrincipalNameUpdateContext
impl Send for GraphUserPrincipalNameUpdateContext
impl Sync for GraphUserPrincipalNameUpdateContext
impl Unpin for GraphUserPrincipalNameUpdateContext
impl UnwindSafe for GraphUserPrincipalNameUpdateContext
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