pub struct RedactedEnvVar {
pub name: String,
pub value_ref: Option<SecretRef>,
pub redacted_value: String,
pub raw_value_present: bool,
}Expand description
Describes the redacted env var 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§
§name: StringHuman-readable or protocol-visible name for this SDK item.
value_ref: Option<SecretRef>Typed value ref reference. Resolving or executing it is a separate policy-gated step.
redacted_value: StringRedacted value used by this record or request.
raw_value_present: boolRaw content or raw-content control for this value. Use it only when policy explicitly allows raw content capture or delivery.
Trait Implementations§
Source§impl Clone for RedactedEnvVar
impl Clone for RedactedEnvVar
Source§fn clone(&self) -> RedactedEnvVar
fn clone(&self) -> RedactedEnvVar
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 RedactedEnvVar
impl Debug for RedactedEnvVar
Source§impl<'de> Deserialize<'de> for RedactedEnvVar
impl<'de> Deserialize<'de> for RedactedEnvVar
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 RedactedEnvVar
impl PartialEq for RedactedEnvVar
Source§fn eq(&self, other: &RedactedEnvVar) -> bool
fn eq(&self, other: &RedactedEnvVar) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RedactedEnvVar
impl Serialize for RedactedEnvVar
impl Eq for RedactedEnvVar
impl StructuralPartialEq for RedactedEnvVar
Auto Trait Implementations§
impl Freeze for RedactedEnvVar
impl RefUnwindSafe for RedactedEnvVar
impl Send for RedactedEnvVar
impl Sync for RedactedEnvVar
impl Unpin for RedactedEnvVar
impl UnsafeUnpin for RedactedEnvVar
impl UnwindSafe for RedactedEnvVar
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