pub struct Impersonation {
pub impersonated_user: Option<User>,
}Expand description
Information about an impersonation, where an admin acts on behalf of an end user. Information about the acting admin is not currently available.
This type is not used in any activity, and only used as part of another schema.
Fields§
§impersonated_user: Option<User>The impersonated user.
Trait Implementations§
Source§impl Clone for Impersonation
impl Clone for Impersonation
Source§fn clone(&self) -> Impersonation
fn clone(&self) -> Impersonation
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 Impersonation
impl Debug for Impersonation
Source§impl Default for Impersonation
impl Default for Impersonation
Source§fn default() -> Impersonation
fn default() -> Impersonation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Impersonation
impl<'de> Deserialize<'de> for Impersonation
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 Serialize for Impersonation
impl Serialize for Impersonation
impl Part for Impersonation
Auto Trait Implementations§
impl Freeze for Impersonation
impl RefUnwindSafe for Impersonation
impl Send for Impersonation
impl Sync for Impersonation
impl Unpin for Impersonation
impl UnwindSafe for Impersonation
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