pub struct UserEntitlement {
pub entitlement_base: EntitlementBase,
pub user: Option<GraphUser>,
}
Expand description
A user entity with additional properties including their license, extensions, and project membership
Fields§
§entitlement_base: EntitlementBase
§user: Option<GraphUser>
Implementations§
Trait Implementations§
source§impl Clone for UserEntitlement
impl Clone for UserEntitlement
source§fn clone(&self) -> UserEntitlement
fn clone(&self) -> UserEntitlement
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 UserEntitlement
impl Debug for UserEntitlement
source§impl Default for UserEntitlement
impl Default for UserEntitlement
source§fn default() -> UserEntitlement
fn default() -> UserEntitlement
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserEntitlement
impl<'de> Deserialize<'de> for UserEntitlement
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 UserEntitlement
impl PartialEq for UserEntitlement
source§fn eq(&self, other: &UserEntitlement) -> bool
fn eq(&self, other: &UserEntitlement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserEntitlement
impl Serialize for UserEntitlement
impl StructuralPartialEq for UserEntitlement
Auto Trait Implementations§
impl Freeze for UserEntitlement
impl RefUnwindSafe for UserEntitlement
impl Send for UserEntitlement
impl Sync for UserEntitlement
impl Unpin for UserEntitlement
impl UnwindSafe for UserEntitlement
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