pub struct SecretInjection {
pub headers: bool,
pub basic_auth: bool,
pub query_params: bool,
pub body: bool,
}Expand description
Where in the HTTP request the secret can be injected.
Fields§
§headers: boolSubstitute in HTTP headers (default: true).
basic_auth: boolSubstitute in HTTP Basic Auth (default: true).
query_params: boolSubstitute in URL query parameters (default: false).
body: boolSubstitute in request body (default: false).
Trait Implementations§
Source§impl Clone for SecretInjection
impl Clone for SecretInjection
Source§fn clone(&self) -> SecretInjection
fn clone(&self) -> SecretInjection
Returns a duplicate 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 SecretInjection
impl Debug for SecretInjection
Source§impl Default for SecretInjection
impl Default for SecretInjection
Source§impl<'de> Deserialize<'de> for SecretInjection
impl<'de> Deserialize<'de> for SecretInjection
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 SecretInjection
impl RefUnwindSafe for SecretInjection
impl Send for SecretInjection
impl Sync for SecretInjection
impl Unpin for SecretInjection
impl UnsafeUnpin for SecretInjection
impl UnwindSafe for SecretInjection
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