#[non_exhaustive]pub struct ServerlessClientAuthenticationBuilder { /* private fields */ }
Expand description
A builder for ServerlessClientAuthentication
.
Implementations§
source§impl ServerlessClientAuthenticationBuilder
impl ServerlessClientAuthenticationBuilder
sourcepub fn sasl(self, input: ServerlessSasl) -> Self
pub fn sasl(self, input: ServerlessSasl) -> Self
Details for ClientAuthentication using SASL.
sourcepub fn set_sasl(self, input: Option<ServerlessSasl>) -> Self
pub fn set_sasl(self, input: Option<ServerlessSasl>) -> Self
Details for ClientAuthentication using SASL.
sourcepub fn get_sasl(&self) -> &Option<ServerlessSasl>
pub fn get_sasl(&self) -> &Option<ServerlessSasl>
Details for ClientAuthentication using SASL.
sourcepub fn build(self) -> ServerlessClientAuthentication
pub fn build(self) -> ServerlessClientAuthentication
Consumes the builder and constructs a ServerlessClientAuthentication
.
Trait Implementations§
source§impl Clone for ServerlessClientAuthenticationBuilder
impl Clone for ServerlessClientAuthenticationBuilder
source§fn clone(&self) -> ServerlessClientAuthenticationBuilder
fn clone(&self) -> ServerlessClientAuthenticationBuilder
Returns a copy 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 moresource§impl Default for ServerlessClientAuthenticationBuilder
impl Default for ServerlessClientAuthenticationBuilder
source§fn default() -> ServerlessClientAuthenticationBuilder
fn default() -> ServerlessClientAuthenticationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ServerlessClientAuthenticationBuilder
impl PartialEq for ServerlessClientAuthenticationBuilder
source§fn eq(&self, other: &ServerlessClientAuthenticationBuilder) -> bool
fn eq(&self, other: &ServerlessClientAuthenticationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServerlessClientAuthenticationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ServerlessClientAuthenticationBuilder
impl Send for ServerlessClientAuthenticationBuilder
impl Sync for ServerlessClientAuthenticationBuilder
impl Unpin for ServerlessClientAuthenticationBuilder
impl UnwindSafe for ServerlessClientAuthenticationBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.