#[non_exhaustive]pub struct AwsMskClusterClusterInfoClientAuthenticationDetails {
pub sasl: Option<AwsMskClusterClusterInfoClientAuthenticationSaslDetails>,
pub unauthenticated: Option<AwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails>,
pub tls: Option<AwsMskClusterClusterInfoClientAuthenticationTlsDetails>,
}
Expand description
Provides details about different modes of client authentication.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.sasl: Option<AwsMskClusterClusterInfoClientAuthenticationSaslDetails>
Provides details for client authentication using SASL.
unauthenticated: Option<AwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails>
Provides details for allowing no client authentication.
tls: Option<AwsMskClusterClusterInfoClientAuthenticationTlsDetails>
Provides details for client authentication using TLS.
Implementations§
source§impl AwsMskClusterClusterInfoClientAuthenticationDetails
impl AwsMskClusterClusterInfoClientAuthenticationDetails
sourcepub fn sasl(
&self
) -> Option<&AwsMskClusterClusterInfoClientAuthenticationSaslDetails>
pub fn sasl( &self ) -> Option<&AwsMskClusterClusterInfoClientAuthenticationSaslDetails>
Provides details for client authentication using SASL.
sourcepub fn unauthenticated(
&self
) -> Option<&AwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails>
pub fn unauthenticated( &self ) -> Option<&AwsMskClusterClusterInfoClientAuthenticationUnauthenticatedDetails>
Provides details for allowing no client authentication.
sourcepub fn tls(
&self
) -> Option<&AwsMskClusterClusterInfoClientAuthenticationTlsDetails>
pub fn tls( &self ) -> Option<&AwsMskClusterClusterInfoClientAuthenticationTlsDetails>
Provides details for client authentication using TLS.
source§impl AwsMskClusterClusterInfoClientAuthenticationDetails
impl AwsMskClusterClusterInfoClientAuthenticationDetails
sourcepub fn builder() -> AwsMskClusterClusterInfoClientAuthenticationDetailsBuilder
pub fn builder() -> AwsMskClusterClusterInfoClientAuthenticationDetailsBuilder
Creates a new builder-style object to manufacture AwsMskClusterClusterInfoClientAuthenticationDetails
.
Trait Implementations§
source§impl Clone for AwsMskClusterClusterInfoClientAuthenticationDetails
impl Clone for AwsMskClusterClusterInfoClientAuthenticationDetails
source§fn clone(&self) -> AwsMskClusterClusterInfoClientAuthenticationDetails
fn clone(&self) -> AwsMskClusterClusterInfoClientAuthenticationDetails
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 PartialEq for AwsMskClusterClusterInfoClientAuthenticationDetails
impl PartialEq for AwsMskClusterClusterInfoClientAuthenticationDetails
source§fn eq(
&self,
other: &AwsMskClusterClusterInfoClientAuthenticationDetails
) -> bool
fn eq( &self, other: &AwsMskClusterClusterInfoClientAuthenticationDetails ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsMskClusterClusterInfoClientAuthenticationDetails
Auto Trait Implementations§
impl RefUnwindSafe for AwsMskClusterClusterInfoClientAuthenticationDetails
impl Send for AwsMskClusterClusterInfoClientAuthenticationDetails
impl Sync for AwsMskClusterClusterInfoClientAuthenticationDetails
impl Unpin for AwsMskClusterClusterInfoClientAuthenticationDetails
impl UnwindSafe for AwsMskClusterClusterInfoClientAuthenticationDetails
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.