pub struct Account<'a> { /* private fields */ }Expand description
Corresponds to IdentityRequestAccount
Implementations§
Source§impl<'a> Account<'a>
impl<'a> Account<'a>
pub fn builder( accountId: impl Into<Cow<'a, str>>, email: impl Into<Cow<'a, str>>, name: impl Into<Cow<'a, str>>, givenName: impl Into<Cow<'a, str>>, pictureUrl: impl Into<Cow<'a, str>>, idpConfigUrl: impl Into<Cow<'a, str>>, idpLoginUrl: impl Into<Cow<'a, str>>, loginState: LoginState, ) -> AccountBuilder<'a>
pub fn accountId(&self) -> &str
pub fn email(&self) -> &str
pub fn name(&self) -> &str
pub fn givenName(&self) -> &str
pub fn pictureUrl(&self) -> &str
pub fn idpConfigUrl(&self) -> &str
pub fn idpLoginUrl(&self) -> &str
pub fn loginState(&self) -> &LoginState
pub fn termsOfServiceUrl(&self) -> Option<&str>
pub fn privacyPolicyUrl(&self) -> Option<&str>
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Account<'a>
impl<'de, 'a> Deserialize<'de> for Account<'a>
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<'a> Freeze for Account<'a>
impl<'a> RefUnwindSafe for Account<'a>
impl<'a> Send for Account<'a>
impl<'a> Sync for Account<'a>
impl<'a> Unpin for Account<'a>
impl<'a> UnsafeUnpin for Account<'a>
impl<'a> UnwindSafe for Account<'a>
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