pub struct MiddlewarePassTlsClientCertInfoSubject {
pub common_name: Option<bool>,
pub country: Option<bool>,
pub domain_component: Option<bool>,
pub locality: Option<bool>,
pub organization: Option<bool>,
pub organizational_unit: Option<bool>,
pub province: Option<bool>,
pub serial_number: Option<bool>,
}
Expand description
Subject defines the client certificate subject details to add to the X-Forwarded-Tls-Client-Cert-Info header.
Fields§
§common_name: Option<bool>
CommonName defines whether to add the organizationalUnit information into the subject.
country: Option<bool>
Country defines whether to add the country information into the subject.
domain_component: Option<bool>
DomainComponent defines whether to add the domainComponent information into the subject.
locality: Option<bool>
Locality defines whether to add the locality information into the subject.
organization: Option<bool>
Organization defines whether to add the organization information into the subject.
organizational_unit: Option<bool>
OrganizationalUnit defines whether to add the organizationalUnit information into the subject.
province: Option<bool>
Province defines whether to add the province information into the subject.
serial_number: Option<bool>
SerialNumber defines whether to add the serialNumber information into the subject.
Implementations§
Source§impl MiddlewarePassTlsClientCertInfoSubject
impl MiddlewarePassTlsClientCertInfoSubject
Sourcepub fn builder() -> MiddlewarePassTlsClientCertInfoSubjectBuilder<((), (), (), (), (), (), (), ())>
pub fn builder() -> MiddlewarePassTlsClientCertInfoSubjectBuilder<((), (), (), (), (), (), (), ())>
Create a builder for building MiddlewarePassTlsClientCertInfoSubject
.
On the builder, call .common_name(...)
(optional), .country(...)
(optional), .domain_component(...)
(optional), .locality(...)
(optional), .organization(...)
(optional), .organizational_unit(...)
(optional), .province(...)
(optional), .serial_number(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of MiddlewarePassTlsClientCertInfoSubject
.
Trait Implementations§
Source§impl Clone for MiddlewarePassTlsClientCertInfoSubject
impl Clone for MiddlewarePassTlsClientCertInfoSubject
Source§fn clone(&self) -> MiddlewarePassTlsClientCertInfoSubject
fn clone(&self) -> MiddlewarePassTlsClientCertInfoSubject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for MiddlewarePassTlsClientCertInfoSubject
impl Default for MiddlewarePassTlsClientCertInfoSubject
Source§fn default() -> MiddlewarePassTlsClientCertInfoSubject
fn default() -> MiddlewarePassTlsClientCertInfoSubject
Source§impl<'de> Deserialize<'de> for MiddlewarePassTlsClientCertInfoSubject
impl<'de> Deserialize<'de> for MiddlewarePassTlsClientCertInfoSubject
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 MiddlewarePassTlsClientCertInfoSubject
impl JsonSchema for MiddlewarePassTlsClientCertInfoSubject
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 MiddlewarePassTlsClientCertInfoSubject
impl PartialEq for MiddlewarePassTlsClientCertInfoSubject
Source§fn eq(&self, other: &MiddlewarePassTlsClientCertInfoSubject) -> bool
fn eq(&self, other: &MiddlewarePassTlsClientCertInfoSubject) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MiddlewarePassTlsClientCertInfoSubject
Auto Trait Implementations§
impl Freeze for MiddlewarePassTlsClientCertInfoSubject
impl RefUnwindSafe for MiddlewarePassTlsClientCertInfoSubject
impl Send for MiddlewarePassTlsClientCertInfoSubject
impl Sync for MiddlewarePassTlsClientCertInfoSubject
impl Unpin for MiddlewarePassTlsClientCertInfoSubject
impl UnwindSafe for MiddlewarePassTlsClientCertInfoSubject
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