pub struct AccountBuilder { /* private fields */ }Expand description
Builder for Account.
Implementations§
Source§impl AccountBuilder
impl AccountBuilder
pub fn account_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn email<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn given_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn picture_url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn idp_config_url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn idp_login_url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn login_state<VALUE: Into<LoginState>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn terms_of_service_url<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn terms_of_service_url<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
These two are only set if the loginState is signUp
pub fn privacy_policy_url<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl Clone for AccountBuilder
impl Clone for AccountBuilder
Source§fn clone(&self) -> AccountBuilder
fn clone(&self) -> AccountBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AccountBuilder
impl RefUnwindSafe for AccountBuilder
impl Send for AccountBuilder
impl Sync for AccountBuilder
impl Unpin for AccountBuilder
impl UnsafeUnpin for AccountBuilder
impl UnwindSafe for AccountBuilder
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