pub struct SecretSubstitution {
pub headers: bool,
pub query: bool,
pub body: bool,
}Expand description
Request locations where a placeholder can be substituted with its secret.
Fields§
§headers: boolSubstitute in HTTP headers (default: true).
query: boolSubstitute in URL query parameters (default: false).
body: boolSubstitute in request body (default: false).
Fixed-length HTTP/1 bodies up to 16 MiB update Content-Length;
larger fixed-length bodies are blocked. Chunked HTTP/1 bodies are
decoded and re-encoded with fresh chunk sizes. Encoded bodies pass
through unchanged. HTTP/2 DATA-frame body substitution is not
supported; matching body placeholders are blocked.
Trait Implementations§
Source§impl Clone for SecretSubstitution
impl Clone for SecretSubstitution
Source§fn clone(&self) -> SecretSubstitution
fn clone(&self) -> SecretSubstitution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecretSubstitution
impl Debug for SecretSubstitution
Source§impl Default for SecretSubstitution
impl Default for SecretSubstitution
Source§fn default() -> SecretSubstitution
fn default() -> SecretSubstitution
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretSubstitution
impl<'de> Deserialize<'de> for SecretSubstitution
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecretSubstitution, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecretSubstitution, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SecretSubstitution
impl Serialize for SecretSubstitution
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SecretSubstitution
impl RefUnwindSafe for SecretSubstitution
impl Send for SecretSubstitution
impl Sync for SecretSubstitution
impl Unpin for SecretSubstitution
impl UnsafeUnpin for SecretSubstitution
impl UnwindSafe for SecretSubstitution
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
Converts
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> ⓘ
Converts
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