pub struct MsgraphUser {
pub id: String,
pub display_name: Option<String>,
pub mail: Option<String>,
pub user_principal_name: Option<String>,
}Expand description
A Microsoft Graph user (the signed-in mailbox owner via me).
Fields§
§id: StringThe unique identifier of the user.
display_name: Option<String>The display name of the user.
mail: Option<String>The primary email address of the user.
user_principal_name: Option<String>The principal name of the user, usually its sign-in address.
Trait Implementations§
Source§impl Clone for MsgraphUser
impl Clone for MsgraphUser
Source§fn clone(&self) -> MsgraphUser
fn clone(&self) -> MsgraphUser
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MsgraphUser
impl Debug for MsgraphUser
Source§impl Default for MsgraphUser
impl Default for MsgraphUser
Source§fn default() -> MsgraphUser
fn default() -> MsgraphUser
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MsgraphUser
impl<'de> Deserialize<'de> for MsgraphUser
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
impl Eq for MsgraphUser
Source§impl PartialEq for MsgraphUser
impl PartialEq for MsgraphUser
Source§impl Serialize for MsgraphUser
impl Serialize for MsgraphUser
impl StructuralPartialEq for MsgraphUser
Auto Trait Implementations§
impl Freeze for MsgraphUser
impl RefUnwindSafe for MsgraphUser
impl Send for MsgraphUser
impl Sync for MsgraphUser
impl Unpin for MsgraphUser
impl UnsafeUnpin for MsgraphUser
impl UnwindSafe for MsgraphUser
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