pub struct SecretMapping {
pub var: String,
pub value: String,
}Expand description
Mapping from environment variable name to the real secret value. The sandbox will inject a masked token into the subprocess env and the proxy will replace that token with this value in outgoing HTTP requests. Real values must not contain CR, LF, or NUL (validated at run time).
Fields§
§var: String§value: StringImplementations§
Trait Implementations§
Source§impl Clone for SecretMapping
impl Clone for SecretMapping
Source§fn clone(&self) -> SecretMapping
fn clone(&self) -> SecretMapping
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 SecretMapping
impl Debug for SecretMapping
Source§impl<'de> Deserialize<'de> for SecretMapping
impl<'de> Deserialize<'de> for SecretMapping
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 SecretMapping
impl RefUnwindSafe for SecretMapping
impl Send for SecretMapping
impl Sync for SecretMapping
impl Unpin for SecretMapping
impl UnsafeUnpin for SecretMapping
impl UnwindSafe for SecretMapping
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