pub struct ProfileResponseModel {Show 19 fields
pub object: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub email: Option<String>,
pub email_verified: Option<bool>,
pub premium: Option<bool>,
pub premium_from_organization: Option<bool>,
pub master_password_hint: Option<String>,
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 organizations: Option<Vec<ProfileOrganizationResponseModel>>,
pub providers: Option<Vec<ProfileProviderResponseModel>>,
pub provider_organizations: Option<Vec<ProfileProviderOrganizationResponseModel>>,
}
Fields§
§object: Option<String>
§id: Option<String>
§name: Option<String>
§email: Option<String>
§email_verified: Option<bool>
§master_password_hint: Option<String>
§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>
§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<ProfileResponseModel> for ProfileResponseModel
impl PartialEq<ProfileResponseModel> for ProfileResponseModel
source§fn eq(&self, other: &ProfileResponseModel) -> bool
fn eq(&self, other: &ProfileResponseModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.