pub struct StringMapping {
pub token: String,
pub value: String,
}Expand description
Mapping from a unique string identifier (token) to the actual value. The proxy will replace occurrences of the token with the value in URIs, headers, and body. Used when the process already uses placeholders; no env injection. Values must not contain CR, LF, or NUL.
Fields§
§token: String§value: StringImplementations§
Trait Implementations§
Source§impl Clone for StringMapping
impl Clone for StringMapping
Source§fn clone(&self) -> StringMapping
fn clone(&self) -> StringMapping
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 StringMapping
impl Debug for StringMapping
Source§impl<'de> Deserialize<'de> for StringMapping
impl<'de> Deserialize<'de> for StringMapping
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 StringMapping
impl RefUnwindSafe for StringMapping
impl Send for StringMapping
impl Sync for StringMapping
impl Unpin for StringMapping
impl UnsafeUnpin for StringMapping
impl UnwindSafe for StringMapping
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