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.
Trait Implementations§
source§impl Clone for MiddlewarePassTLSClientCertInfo
impl Clone for MiddlewarePassTLSClientCertInfo
source§fn clone(&self) -> MiddlewarePassTLSClientCertInfo
fn clone(&self) -> MiddlewarePassTLSClientCertInfo
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 Default for MiddlewarePassTLSClientCertInfo
impl Default for MiddlewarePassTLSClientCertInfo
source§fn default() -> MiddlewarePassTLSClientCertInfo
fn default() -> MiddlewarePassTLSClientCertInfo
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for MiddlewarePassTLSClientCertInfo
impl JsonSchema for MiddlewarePassTLSClientCertInfo
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreAuto Trait Implementations§
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
Mutably borrows from an owned value. Read more