pub struct InjectTarget {
pub inject_type: String,
pub name: String,
}Expand description
Target for injecting a JSON-extracted credential value.
Fields§
§inject_type: StringWhere to inject: “header”, “env”, or “query”
name: StringName of the header/env var/query param
Trait Implementations§
Source§impl Clone for InjectTarget
impl Clone for InjectTarget
Source§fn clone(&self) -> InjectTarget
fn clone(&self) -> InjectTarget
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 InjectTarget
impl Debug for InjectTarget
Source§impl<'de> Deserialize<'de> for InjectTarget
impl<'de> Deserialize<'de> for InjectTarget
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 InjectTarget
impl RefUnwindSafe for InjectTarget
impl Send for InjectTarget
impl Sync for InjectTarget
impl Unpin for InjectTarget
impl UnsafeUnpin for InjectTarget
impl UnwindSafe for InjectTarget
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