pub struct CloudSecretsConfig {
pub entries: Vec<CloudSecretEntry>,
pub on_violation: CloudViolationAction,
}Expand description
Secret-injection config for the cloud API. Twin of domain SecretsConfig.
Fields§
§entries: Vec<CloudSecretEntry>Secrets to inject.
on_violation: CloudViolationActionDefault action when a placeholder leaks to a disallowed host.
Trait Implementations§
Source§impl Clone for CloudSecretsConfig
impl Clone for CloudSecretsConfig
Source§fn clone(&self) -> CloudSecretsConfig
fn clone(&self) -> CloudSecretsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CloudSecretsConfig
impl Debug for CloudSecretsConfig
Source§impl Default for CloudSecretsConfig
impl Default for CloudSecretsConfig
Source§fn default() -> CloudSecretsConfig
fn default() -> CloudSecretsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CloudSecretsConfig
impl<'de> Deserialize<'de> for CloudSecretsConfig
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 From<CloudSecretsConfig> for SecretsConfig
impl From<CloudSecretsConfig> for SecretsConfig
Source§fn from(config: CloudSecretsConfig) -> Self
fn from(config: CloudSecretsConfig) -> Self
Converts to this type from the input type.
Source§impl From<SecretsConfig> for CloudSecretsConfig
impl From<SecretsConfig> for CloudSecretsConfig
Source§fn from(config: SecretsConfig) -> Self
fn from(config: SecretsConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CloudSecretsConfig
impl RefUnwindSafe for CloudSecretsConfig
impl Send for CloudSecretsConfig
impl Sync for CloudSecretsConfig
impl Unpin for CloudSecretsConfig
impl UnsafeUnpin for CloudSecretsConfig
impl UnwindSafe for CloudSecretsConfig
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