pub struct Account {
pub accountId: String,
pub email: String,
pub name: String,
pub givenName: String,
pub pictureUrl: String,
pub idpConfigUrl: String,
pub idpLoginUrl: String,
pub loginState: LoginState,
pub termsOfServiceUrl: Option<String>,
pub privacyPolicyUrl: Option<String>,
}Expand description
Corresponds to IdentityRequestAccount
Fields§
§accountId: String§email: String§name: String§givenName: String§pictureUrl: String§idpConfigUrl: String§idpLoginUrl: String§loginState: LoginState§termsOfServiceUrl: Option<String>These two are only set if the loginState is signUp
privacyPolicyUrl: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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 Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnsafeUnpin for Account
impl UnwindSafe for Account
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