pub struct ProviderProjectionPolicy {
pub allow_private_metadata_projection: bool,
pub projection_policy_ref: String,
}Expand description
Carries provider projection policy data across a host-port boundary. Constructing the value does not call the host; the port method that receives it documents any adapter, network, or storage effect.
Fields§
§allow_private_metadata_projection: boolWhether provider projection may include private metadata shell fields. This does not allow raw private content; raw content still requires explicit resolver and policy gates.
projection_policy_ref: StringTyped projection policy ref reference. Resolving or executing it is a separate policy-gated step.
Implementations§
Source§impl ProviderProjectionPolicy
impl ProviderProjectionPolicy
Sourcepub fn redacted(policy_ref: impl Into<String>) -> Self
pub fn redacted(policy_ref: impl Into<String>) -> Self
Returns an updated value with redacted configured. This is data-only and does not perform I/O, call host ports, append journals, publish events, or start processes.
Sourcepub fn allow_private_metadata(policy_ref: impl Into<String>) -> Self
pub fn allow_private_metadata(policy_ref: impl Into<String>) -> Self
Returns an updated value with allow private metadata configured. This is data-only policy/configuration construction and does not call provider adapters, sinks, journals, or event buses.
Trait Implementations§
Source§impl Clone for ProviderProjectionPolicy
impl Clone for ProviderProjectionPolicy
Source§fn clone(&self) -> ProviderProjectionPolicy
fn clone(&self) -> ProviderProjectionPolicy
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProviderProjectionPolicy
impl Debug for ProviderProjectionPolicy
Source§impl<'de> Deserialize<'de> for ProviderProjectionPolicy
impl<'de> Deserialize<'de> for ProviderProjectionPolicy
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>,
Source§impl PartialEq for ProviderProjectionPolicy
impl PartialEq for ProviderProjectionPolicy
Source§fn eq(&self, other: &ProviderProjectionPolicy) -> bool
fn eq(&self, other: &ProviderProjectionPolicy) -> bool
self and other values to be equal, and is used by ==.