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