pub struct SecretConstraints {
pub allowed_secrets: Vec<String>,
pub required_secrets: Vec<String>,
}Fields§
§allowed_secrets: Vec<String>Secrets allowed to be injected (empty = all)
required_secrets: Vec<String>Secrets that must exist or the exec fails
Trait Implementations§
Source§impl Clone for SecretConstraints
impl Clone for SecretConstraints
Source§fn clone(&self) -> SecretConstraints
fn clone(&self) -> SecretConstraints
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 SecretConstraints
impl Debug for SecretConstraints
Source§impl<'de> Deserialize<'de> for SecretConstraints
impl<'de> Deserialize<'de> for SecretConstraints
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 SecretConstraints
impl RefUnwindSafe for SecretConstraints
impl Send for SecretConstraints
impl Sync for SecretConstraints
impl Unpin for SecretConstraints
impl UnsafeUnpin for SecretConstraints
impl UnwindSafe for SecretConstraints
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