pub struct SecureSSOUserData {
pub id: String,
pub email: String,
pub username: String,
pub avatar: String,
pub opted_in_notifications: Option<bool>,
pub display_label: Option<String>,
pub display_name: Option<String>,
pub website_url: Option<String>,
pub group_ids: Option<Vec<String>>,
pub is_admin: Option<bool>,
pub is_moderator: Option<bool>,
pub is_profile_activity_private: Option<bool>,
}Fields§
§id: String§email: String§username: String§avatar: String§opted_in_notifications: Option<bool>§display_label: Option<String>§display_name: Option<String>§website_url: Option<String>§group_ids: Option<Vec<String>>§is_admin: Option<bool>§is_moderator: Option<bool>§is_profile_activity_private: Option<bool>Implementations§
Source§impl SecureSSOUserData
impl SecureSSOUserData
pub fn new( id: String, email: String, username: String, avatar: String, ) -> SecureSSOUserData
pub fn as_json_base64(&self) -> String
Trait Implementations§
Source§impl Clone for SecureSSOUserData
impl Clone for SecureSSOUserData
Source§fn clone(&self) -> SecureSSOUserData
fn clone(&self) -> SecureSSOUserData
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<'de> Deserialize<'de> for SecureSSOUserData
impl<'de> Deserialize<'de> for SecureSSOUserData
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
Auto Trait Implementations§
impl Freeze for SecureSSOUserData
impl RefUnwindSafe for SecureSSOUserData
impl Send for SecureSSOUserData
impl Sync for SecureSSOUserData
impl Unpin for SecureSSOUserData
impl UnwindSafe for SecureSSOUserData
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