secret_rewrite
Module: secret_rewrite
Section titled “Module: secret_rewrite”Contents
Section titled “Contents”Structs
Enums
ContentType- How to encode the secret value before substituting it into the body.
firma_sidecar::secret_rewrite::ContentType
Section titled “firma_sidecar::secret_rewrite::ContentType”Enum
How to encode the secret value before substituting it into the body.
The codec is selected per-request from the Content-Type header; when the
header is absent, [ContentType::sniff] probes the first non-whitespace
bytes of the body instead. A header that is present but maps to neither a
known type nor Raw, or body bytes that sniffing can’t classify, fail
with [UnrecognizedContentType].
Variants:
Json-application/jsonor anyapplication/*+json.FormEncoded-application/x-www-form-urlencoded.Xml-application/xml,text/xml, or anyapplication/*+xml.Raw- Anytext/*orapplication/octet-stream— no encoding applied.
Traits: Eq, Copy
Trait Implementations:
- Clone
fn clone(self: &Self) -> ContentType
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- PartialEq
fn eq(self: &Self, other: &ContentType) -> bool
firma_sidecar::secret_rewrite::UnrecognizedContentType
Section titled “firma_sidecar::secret_rewrite::UnrecognizedContentType”Struct
Unit Struct
Traits: Error
Trait Implementations:
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Display
fn fmt(self: &Self, __formatter: & mut ::core::fmt::Formatter) -> ::core::fmt::Result