pub struct AuthenticationSchemeBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> AuthenticationSchemeBuilder<S>
impl<S: State> AuthenticationSchemeBuilder<S>
Sourcepub fn build(self) -> AuthenticationSchemewhere
S: IsComplete,
pub fn build(self) -> AuthenticationSchemewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn name(self, value: String) -> AuthenticationSchemeBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(self, value: String) -> AuthenticationSchemeBuilder<SetName<S>>where
S::Name: IsUnset,
Required.
Sourcepub fn description(
self,
value: String,
) -> AuthenticationSchemeBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: String,
) -> AuthenticationSchemeBuilder<SetDescription<S>>where
S::Description: IsUnset,
Required.
Sourcepub fn spec_uri(
self,
value: String,
) -> AuthenticationSchemeBuilder<SetSpecUri<S>>where
S::SpecUri: IsUnset,
pub fn spec_uri(
self,
value: String,
) -> AuthenticationSchemeBuilder<SetSpecUri<S>>where
S::SpecUri: IsUnset,
Required.
Sourcepub fn type(self, value: String) -> AuthenticationSchemeBuilder<SetType<S>>where
S::Type: IsUnset,
pub fn type(self, value: String) -> AuthenticationSchemeBuilder<SetType<S>>where
S::Type: IsUnset,
Required.
Sourcepub fn primary(self, value: bool) -> AuthenticationSchemeBuilder<SetPrimary<S>>where
S::Primary: IsUnset,
pub fn primary(self, value: bool) -> AuthenticationSchemeBuilder<SetPrimary<S>>where
S::Primary: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for AuthenticationSchemeBuilder<S>
impl<S> RefUnwindSafe for AuthenticationSchemeBuilder<S>
impl<S> Send for AuthenticationSchemeBuilder<S>
impl<S> Sync for AuthenticationSchemeBuilder<S>
impl<S> Unpin for AuthenticationSchemeBuilder<S>
impl<S> UnwindSafe for AuthenticationSchemeBuilder<S>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more