pub struct ProfileResponseModel {Show 19 fields
pub object: Option<String>,
pub id: Option<Uuid>,
pub name: Option<String>,
pub email: Option<String>,
pub email_verified: Option<bool>,
pub premium: Option<bool>,
pub premium_from_organization: Option<bool>,
pub culture: Option<String>,
pub two_factor_enabled: Option<bool>,
pub key: Option<String>,
pub private_key: Option<String>,
pub security_stamp: Option<String>,
pub force_password_reset: Option<bool>,
pub uses_key_connector: Option<bool>,
pub avatar_color: Option<String>,
pub creation_date: Option<String>,
pub organizations: Option<Vec<ProfileOrganizationResponseModel>>,
pub providers: Option<Vec<ProfileProviderResponseModel>>,
pub provider_organizations: Option<Vec<ProfileProviderOrganizationResponseModel>>,
}
Fields§
§object: Option<String>
§id: Option<Uuid>
§name: Option<String>
§email: Option<String>
§email_verified: Option<bool>
§culture: Option<String>
§two_factor_enabled: Option<bool>
§key: Option<String>
§private_key: Option<String>
§security_stamp: Option<String>
§force_password_reset: Option<bool>
§uses_key_connector: Option<bool>
§avatar_color: Option<String>
§creation_date: Option<String>
§organizations: Option<Vec<ProfileOrganizationResponseModel>>
§providers: Option<Vec<ProfileProviderResponseModel>>
§provider_organizations: Option<Vec<ProfileProviderOrganizationResponseModel>>
Implementations§
Source§impl ProfileResponseModel
impl ProfileResponseModel
pub fn new() -> ProfileResponseModel
Trait Implementations§
Source§impl Clone for ProfileResponseModel
impl Clone for ProfileResponseModel
Source§fn clone(&self) -> ProfileResponseModel
fn clone(&self) -> ProfileResponseModel
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 ProfileResponseModel
impl Debug for ProfileResponseModel
Source§impl Default for ProfileResponseModel
impl Default for ProfileResponseModel
Source§fn default() -> ProfileResponseModel
fn default() -> ProfileResponseModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProfileResponseModel
impl<'de> Deserialize<'de> for ProfileResponseModel
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 ProfileResponseModel
impl PartialEq for ProfileResponseModel
Source§impl Serialize for ProfileResponseModel
impl Serialize for ProfileResponseModel
impl StructuralPartialEq for ProfileResponseModel
Auto Trait Implementations§
impl Freeze for ProfileResponseModel
impl RefUnwindSafe for ProfileResponseModel
impl Send for ProfileResponseModel
impl Sync for ProfileResponseModel
impl Unpin for ProfileResponseModel
impl UnwindSafe for ProfileResponseModel
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