pub struct ProxyInjectConfig {
pub inject_mode: Option<InjectMode>,
pub inject_header: Option<String>,
pub credential_format: Option<String>,
pub path_pattern: Option<String>,
pub path_replacement: Option<String>,
pub query_param_name: Option<String>,
}Expand description
Optional proxy-side overrides for credential injection shape.
These settings apply only to how the proxy validates the phantom token from the client request. Any field omitted here falls back to the corresponding top-level route field.
Fields§
§inject_mode: Option<InjectMode>Optional injection mode override for proxy-side token parsing.
inject_header: Option<String>Optional header name override for header/basic_auth modes.
credential_format: Option<String>Optional format override for header mode.
path_pattern: Option<String>Optional path pattern override for url_path mode.
path_replacement: Option<String>Optional path replacement override for url_path mode.
query_param_name: Option<String>Optional query parameter override for query_param mode.
Trait Implementations§
Source§impl Clone for ProxyInjectConfig
impl Clone for ProxyInjectConfig
Source§fn clone(&self) -> ProxyInjectConfig
fn clone(&self) -> ProxyInjectConfig
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 ProxyInjectConfig
impl Debug for ProxyInjectConfig
Source§impl<'de> Deserialize<'de> for ProxyInjectConfig
impl<'de> Deserialize<'de> for ProxyInjectConfig
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
Source§impl PartialEq for ProxyInjectConfig
impl PartialEq for ProxyInjectConfig
Source§impl Serialize for ProxyInjectConfig
impl Serialize for ProxyInjectConfig
impl Eq for ProxyInjectConfig
impl StructuralPartialEq for ProxyInjectConfig
Auto Trait Implementations§
impl Freeze for ProxyInjectConfig
impl RefUnwindSafe for ProxyInjectConfig
impl Send for ProxyInjectConfig
impl Sync for ProxyInjectConfig
impl Unpin for ProxyInjectConfig
impl UnsafeUnpin for ProxyInjectConfig
impl UnwindSafe for ProxyInjectConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.