pub struct AccountOptions {
pub update_account_on_sign_in: bool,
pub encrypt_oauth_tokens: bool,
pub store_account_cookie: bool,
pub store_state_strategy: OAuthStateStoreStrategy,
pub account_linking: AccountLinkingOptions,
}Expand description
Account and OAuth account behavior.
Fields§
§update_account_on_sign_in: bool§encrypt_oauth_tokens: bool§store_state_strategy: OAuthStateStoreStrategy§account_linking: AccountLinkingOptionsImplementations§
Source§impl AccountOptions
impl AccountOptions
pub fn new() -> AccountOptions
pub fn builder() -> AccountOptions
pub fn update_account_on_sign_in(self, enabled: bool) -> AccountOptions
pub fn encrypt_oauth_tokens(self, enabled: bool) -> AccountOptions
pub fn store_state_strategy( self, strategy: OAuthStateStoreStrategy, ) -> AccountOptions
pub fn account_linking( self, account_linking: AccountLinkingOptions, ) -> AccountOptions
Trait Implementations§
Source§impl Clone for AccountOptions
impl Clone for AccountOptions
Source§fn clone(&self) -> AccountOptions
fn clone(&self) -> AccountOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AccountOptions
impl Debug for AccountOptions
Source§impl Default for AccountOptions
impl Default for AccountOptions
Source§fn default() -> AccountOptions
fn default() -> AccountOptions
Returns the “default value” for a type. Read more
impl Eq for AccountOptions
Source§impl PartialEq for AccountOptions
impl PartialEq for AccountOptions
impl StructuralPartialEq for AccountOptions
Auto Trait Implementations§
impl Freeze for AccountOptions
impl RefUnwindSafe for AccountOptions
impl Send for AccountOptions
impl Sync for AccountOptions
impl Unpin for AccountOptions
impl UnsafeUnpin for AccountOptions
impl UnwindSafe for AccountOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.