pub struct AuthIdentity {
pub user_id: String,
pub email: String,
pub display_name: Option<String>,
pub roles: Vec<String>,
pub attributes: BTreeMap<String, String>,
}Fields§
§user_id: String§email: String§display_name: Option<String>§roles: Vec<String>§attributes: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for AuthIdentity
impl Clone for AuthIdentity
Source§fn clone(&self) -> AuthIdentity
fn clone(&self) -> AuthIdentity
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 AuthIdentity
impl Debug for AuthIdentity
Source§impl<'de> Deserialize<'de> for AuthIdentity
impl<'de> Deserialize<'de> for AuthIdentity
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 AuthIdentity
impl PartialEq for AuthIdentity
Source§fn eq(&self, other: &AuthIdentity) -> bool
fn eq(&self, other: &AuthIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthIdentity
impl Serialize for AuthIdentity
impl Eq for AuthIdentity
impl StructuralPartialEq for AuthIdentity
Auto Trait Implementations§
impl Freeze for AuthIdentity
impl RefUnwindSafe for AuthIdentity
impl Send for AuthIdentity
impl Sync for AuthIdentity
impl Unpin for AuthIdentity
impl UnsafeUnpin for AuthIdentity
impl UnwindSafe for AuthIdentity
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