pub struct MiddlewarePassTLSClientCert {
pub info: Option<MiddlewarePassTLSClientCertInfo>,
pub pem: Option<bool>,
}
Expand description
PassTLSClientCert holds the pass TLS client cert middleware configuration. This middleware adds the selected data from the passed client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v3.0/middlewares/http/passtlsclientcert/
Fields§
§info: Option<MiddlewarePassTLSClientCertInfo>
Info selects the specific client certificate details you want to add to the X-Forwarded-Tls-Client-Cert-Info header.
pem: Option<bool>
PEM sets the X-Forwarded-Tls-Client-Cert header with the certificate.
Trait Implementations§
source§impl Clone for MiddlewarePassTLSClientCert
impl Clone for MiddlewarePassTLSClientCert
source§fn clone(&self) -> MiddlewarePassTLSClientCert
fn clone(&self) -> MiddlewarePassTLSClientCert
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 Debug for MiddlewarePassTLSClientCert
impl Debug for MiddlewarePassTLSClientCert
source§impl Default for MiddlewarePassTLSClientCert
impl Default for MiddlewarePassTLSClientCert
source§fn default() -> MiddlewarePassTLSClientCert
fn default() -> MiddlewarePassTLSClientCert
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MiddlewarePassTLSClientCert
impl<'de> Deserialize<'de> for MiddlewarePassTLSClientCert
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 MiddlewarePassTLSClientCert
impl JsonSchema for MiddlewarePassTLSClientCert
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 MiddlewarePassTLSClientCert
impl Send for MiddlewarePassTLSClientCert
impl Sync for MiddlewarePassTLSClientCert
impl Unpin for MiddlewarePassTLSClientCert
impl UnwindSafe for MiddlewarePassTLSClientCert
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