pub struct GraphUserOriginIdUpdateContext {
pub origin_id: Option<String>,
}Expand description
Use this type to update an existing user using the OriginID as a reference to an existing user from an external AD or AAD backed provider. This is the subset of GraphUser fields required for creation of a GraphUser for the AD and AAD use case when looking up the user by its unique ID in the backing provider.
Fields§
§origin_id: Option<String>This should be the object id or sid of the user from the source AD or AAD provider. Example: d47d025a-ce2f-4a79-8618-e8862ade30dd Azure Devops will communicate with the source provider to fill all other fields on creation.
Implementations§
Trait Implementations§
Source§impl Clone for GraphUserOriginIdUpdateContext
impl Clone for GraphUserOriginIdUpdateContext
Source§fn clone(&self) -> GraphUserOriginIdUpdateContext
fn clone(&self) -> GraphUserOriginIdUpdateContext
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 GraphUserOriginIdUpdateContext
impl Default for GraphUserOriginIdUpdateContext
Source§fn default() -> GraphUserOriginIdUpdateContext
fn default() -> GraphUserOriginIdUpdateContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphUserOriginIdUpdateContext
impl<'de> Deserialize<'de> for GraphUserOriginIdUpdateContext
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 GraphUserOriginIdUpdateContext
impl PartialEq for GraphUserOriginIdUpdateContext
Source§fn eq(&self, other: &GraphUserOriginIdUpdateContext) -> bool
fn eq(&self, other: &GraphUserOriginIdUpdateContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GraphUserOriginIdUpdateContext
Auto Trait Implementations§
impl Freeze for GraphUserOriginIdUpdateContext
impl RefUnwindSafe for GraphUserOriginIdUpdateContext
impl Send for GraphUserOriginIdUpdateContext
impl Sync for GraphUserOriginIdUpdateContext
impl Unpin for GraphUserOriginIdUpdateContext
impl UnwindSafe for GraphUserOriginIdUpdateContext
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