pub struct SecretEnvPolicy {
pub secret_ref: SecretRef,
pub env_key: String,
pub destination: DestinationRef,
pub redaction_policy_ref: PolicyRef,
}Expand description
Describes the secret env policy portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
Fields§
§secret_ref: SecretRefTyped secret ref reference. Resolving or executing it is a separate policy-gated step.
env_key: StringEnv key used by this record or request.
destination: DestinationRefDestination label or ref for this item; it is metadata and does not deliver content by itself.
redaction_policy_ref: PolicyRefTyped redaction policy ref reference. Resolving or executing it is a separate policy-gated step.
Trait Implementations§
Source§impl Clone for SecretEnvPolicy
impl Clone for SecretEnvPolicy
Source§fn clone(&self) -> SecretEnvPolicy
fn clone(&self) -> SecretEnvPolicy
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 SecretEnvPolicy
impl Debug for SecretEnvPolicy
Source§impl<'de> Deserialize<'de> for SecretEnvPolicy
impl<'de> Deserialize<'de> for SecretEnvPolicy
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 PartialEq for SecretEnvPolicy
impl PartialEq for SecretEnvPolicy
Source§fn eq(&self, other: &SecretEnvPolicy) -> bool
fn eq(&self, other: &SecretEnvPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SecretEnvPolicy
impl Serialize for SecretEnvPolicy
impl Eq for SecretEnvPolicy
impl StructuralPartialEq for SecretEnvPolicy
Auto Trait Implementations§
impl Freeze for SecretEnvPolicy
impl RefUnwindSafe for SecretEnvPolicy
impl Send for SecretEnvPolicy
impl Sync for SecretEnvPolicy
impl Unpin for SecretEnvPolicy
impl UnsafeUnpin for SecretEnvPolicy
impl UnwindSafe for SecretEnvPolicy
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