Struct aws_sdk_appmesh::model::ClientPolicyTls [−][src]
#[non_exhaustive]pub struct ClientPolicyTls {
pub enforce: Option<bool>,
pub ports: Option<Vec<i32>>,
pub certificate: Option<ClientTlsCertificate>,
pub validation: Option<TlsValidationContext>,
}
Expand description
A reference to an object that represents a Transport Layer Security (TLS) client policy.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.enforce: Option<bool>
Whether the policy is enforced. The default is True
, if a value isn't specified.
ports: Option<Vec<i32>>
One or more ports that the policy is enforced for.
certificate: Option<ClientTlsCertificate>
A reference to an object that represents a client's TLS certificate.
validation: Option<TlsValidationContext>
A reference to an object that represents a TLS validation context.
Implementations
Whether the policy is enforced. The default is True
, if a value isn't specified.
A reference to an object that represents a client's TLS certificate.
A reference to an object that represents a TLS validation context.
Creates a new builder-style object to manufacture ClientPolicyTls
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ClientPolicyTls
impl Send for ClientPolicyTls
impl Sync for ClientPolicyTls
impl Unpin for ClientPolicyTls
impl UnwindSafe for ClientPolicyTls
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more