pub struct AuthClientCreateOptionsBuilder<S: State = Empty> { /* private fields */ }Available on crate feature
wasm-js only.Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> AuthClientCreateOptionsBuilder<S>
impl<S: State> AuthClientCreateOptionsBuilder<S>
Sourcepub fn build(self) -> AuthClientCreateOptionswhere
S: IsComplete,
pub fn build(self) -> AuthClientCreateOptionswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn identity(
self,
value: ArcIdentity,
) -> AuthClientCreateOptionsBuilder<SetIdentity<S>>where
S::Identity: IsUnset,
pub fn identity(
self,
value: ArcIdentity,
) -> AuthClientCreateOptionsBuilder<SetIdentity<S>>where
S::Identity: IsUnset,
Sourcepub fn maybe_identity(
self,
value: Option<ArcIdentity>,
) -> AuthClientCreateOptionsBuilder<SetIdentity<S>>where
S::Identity: IsUnset,
pub fn maybe_identity(
self,
value: Option<ArcIdentity>,
) -> AuthClientCreateOptionsBuilder<SetIdentity<S>>where
S::Identity: IsUnset,
Sourcepub fn storage(
self,
value: impl Into<Box<dyn AuthClientStorage>>,
) -> AuthClientCreateOptionsBuilder<SetStorage<S>>where
S::Storage: IsUnset,
pub fn storage(
self,
value: impl Into<Box<dyn AuthClientStorage>>,
) -> AuthClientCreateOptionsBuilder<SetStorage<S>>where
S::Storage: IsUnset,
Sourcepub fn maybe_storage(
self,
value: Option<impl Into<Box<dyn AuthClientStorage>>>,
) -> AuthClientCreateOptionsBuilder<SetStorage<S>>where
S::Storage: IsUnset,
pub fn maybe_storage(
self,
value: Option<impl Into<Box<dyn AuthClientStorage>>>,
) -> AuthClientCreateOptionsBuilder<SetStorage<S>>where
S::Storage: IsUnset,
Sourcepub fn key_type(
self,
value: BaseKeyType,
) -> AuthClientCreateOptionsBuilder<SetKeyType<S>>where
S::KeyType: IsUnset,
pub fn key_type(
self,
value: BaseKeyType,
) -> AuthClientCreateOptionsBuilder<SetKeyType<S>>where
S::KeyType: IsUnset,
Sourcepub fn maybe_key_type(
self,
value: Option<BaseKeyType>,
) -> AuthClientCreateOptionsBuilder<SetKeyType<S>>where
S::KeyType: IsUnset,
pub fn maybe_key_type(
self,
value: Option<BaseKeyType>,
) -> AuthClientCreateOptionsBuilder<SetKeyType<S>>where
S::KeyType: IsUnset,
Sourcepub fn idle_options(
self,
value: IdleOptions,
) -> AuthClientCreateOptionsBuilder<SetIdleOptions<S>>where
S::IdleOptions: IsUnset,
pub fn idle_options(
self,
value: IdleOptions,
) -> AuthClientCreateOptionsBuilder<SetIdleOptions<S>>where
S::IdleOptions: IsUnset,
Sourcepub fn maybe_idle_options(
self,
value: Option<IdleOptions>,
) -> AuthClientCreateOptionsBuilder<SetIdleOptions<S>>where
S::IdleOptions: IsUnset,
pub fn maybe_idle_options(
self,
value: Option<IdleOptions>,
) -> AuthClientCreateOptionsBuilder<SetIdleOptions<S>>where
S::IdleOptions: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for AuthClientCreateOptionsBuilder<S>
impl<S = Empty> !RefUnwindSafe for AuthClientCreateOptionsBuilder<S>
impl<S> Send for AuthClientCreateOptionsBuilder<S>
impl<S = Empty> !Sync for AuthClientCreateOptionsBuilder<S>
impl<S> Unpin for AuthClientCreateOptionsBuilder<S>
impl<S = Empty> !UnwindSafe for AuthClientCreateOptionsBuilder<S>
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