pub struct InjectionLocation {
pub header: bool,
}Expand description
Where the interceptor substitutes a placeholder.
Fields§
§header: boolSubstitute inside request header values (Authorization, x-api-key,
or any other ordinary header). Routing and framing headers are excluded.
Trait Implementations§
Source§impl Clone for InjectionLocation
impl Clone for InjectionLocation
impl Copy for InjectionLocation
Source§impl Debug for InjectionLocation
impl Debug for InjectionLocation
Source§impl Default for InjectionLocation
impl Default for InjectionLocation
Source§impl<'de> Deserialize<'de> for InjectionLocation
impl<'de> Deserialize<'de> for InjectionLocation
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
impl Eq for InjectionLocation
Source§impl PartialEq for InjectionLocation
impl PartialEq for InjectionLocation
Source§impl Serialize for InjectionLocation
impl Serialize for InjectionLocation
impl StructuralPartialEq for InjectionLocation
Auto Trait Implementations§
impl Freeze for InjectionLocation
impl RefUnwindSafe for InjectionLocation
impl Send for InjectionLocation
impl Sync for InjectionLocation
impl Unpin for InjectionLocation
impl UnsafeUnpin for InjectionLocation
impl UnwindSafe for InjectionLocation
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