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§impl<'de> Deserialize<'de> for SecretSubstitution
impl<'de> Deserialize<'de> for SecretSubstitution
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
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<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