pub struct SecretScope {
pub integration: String,
pub keys: Vec<String>,
}Expand description
Scoped secret delivery: only give an integration the secrets it needs.
Fields§
§integration: StringIntegration name (e.g. “whatsapp”, “telegram”).
keys: Vec<String>Secret key names to include for this integration. Empty means include all keys (no filtering).
Trait Implementations§
Source§impl Clone for SecretScope
impl Clone for SecretScope
Source§fn clone(&self) -> SecretScope
fn clone(&self) -> SecretScope
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 SecretScope
impl Debug for SecretScope
Source§impl<'de> Deserialize<'de> for SecretScope
impl<'de> Deserialize<'de> for SecretScope
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 SecretScope
impl RefUnwindSafe for SecretScope
impl Send for SecretScope
impl Sync for SecretScope
impl Unpin for SecretScope
impl UnsafeUnpin for SecretScope
impl UnwindSafe for SecretScope
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