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.
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(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more