pub struct MiddlewarePassTlsClientCertInfo {
pub issuer: Option<MiddlewarePassTlsClientCertInfoIssuer>,
pub not_after: Option<bool>,
pub not_before: Option<bool>,
pub sans: Option<bool>,
pub serial_number: Option<bool>,
pub subject: Option<MiddlewarePassTlsClientCertInfoSubject>,
}
Expand description
Info selects the specific client certificate details you want to add to the X-Forwarded-Tls-Client-Cert-Info header.
Fields§
§issuer: Option<MiddlewarePassTlsClientCertInfoIssuer>
Issuer defines the client certificate issuer details to add to the X-Forwarded-Tls-Client-Cert-Info header.
not_after: Option<bool>
NotAfter defines whether to add the Not After information from the Validity part.
not_before: Option<bool>
NotBefore defines whether to add the Not Before information from the Validity part.
sans: Option<bool>
Sans defines whether to add the Subject Alternative Name information from the Subject Alternative Name part.
serial_number: Option<bool>
SerialNumber defines whether to add the client serialNumber information.
subject: Option<MiddlewarePassTlsClientCertInfoSubject>
Subject defines the client certificate subject details to add to the X-Forwarded-Tls-Client-Cert-Info header.
Implementations§
Source§impl MiddlewarePassTlsClientCertInfo
impl MiddlewarePassTlsClientCertInfo
Sourcepub fn builder() -> MiddlewarePassTlsClientCertInfoBuilder<((), (), (), (), (), ())>
pub fn builder() -> MiddlewarePassTlsClientCertInfoBuilder<((), (), (), (), (), ())>
Create a builder for building MiddlewarePassTlsClientCertInfo
.
On the builder, call .issuer(...)
(optional), .not_after(...)
(optional), .not_before(...)
(optional), .sans(...)
(optional), .serial_number(...)
(optional), .subject(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of MiddlewarePassTlsClientCertInfo
.
Trait Implementations§
Source§impl Clone for MiddlewarePassTlsClientCertInfo
impl Clone for MiddlewarePassTlsClientCertInfo
Source§fn clone(&self) -> MiddlewarePassTlsClientCertInfo
fn clone(&self) -> MiddlewarePassTlsClientCertInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for MiddlewarePassTlsClientCertInfo
impl Default for MiddlewarePassTlsClientCertInfo
Source§fn default() -> MiddlewarePassTlsClientCertInfo
fn default() -> MiddlewarePassTlsClientCertInfo
Source§impl<'de> Deserialize<'de> for MiddlewarePassTlsClientCertInfo
impl<'de> Deserialize<'de> for MiddlewarePassTlsClientCertInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for MiddlewarePassTlsClientCertInfo
impl JsonSchema for MiddlewarePassTlsClientCertInfo
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for MiddlewarePassTlsClientCertInfo
impl PartialEq for MiddlewarePassTlsClientCertInfo
Source§fn eq(&self, other: &MiddlewarePassTlsClientCertInfo) -> bool
fn eq(&self, other: &MiddlewarePassTlsClientCertInfo) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MiddlewarePassTlsClientCertInfo
Auto Trait Implementations§
impl Freeze for MiddlewarePassTlsClientCertInfo
impl RefUnwindSafe for MiddlewarePassTlsClientCertInfo
impl Send for MiddlewarePassTlsClientCertInfo
impl Sync for MiddlewarePassTlsClientCertInfo
impl Unpin for MiddlewarePassTlsClientCertInfo
impl UnwindSafe for MiddlewarePassTlsClientCertInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more