pub struct ConfigRegistryEntry {
pub id: String,
pub version: u64,
pub resource_type: String,
pub schema: String,
pub mutability: Mutability,
pub sensitivity: Sensitivity,
pub managed: bool,
pub required_action: String,
pub required_resource: String,
pub evidence_requirement: EvidenceRequirement,
pub updated_by: String,
pub updated_at_ms: u128,
}Expand description
A single registry entry — the governance metadata for one config resource (a config key, a vault path, a policy id, an audit surface).
Fields§
§id: StringCanonical resource id (e.g. "red.config.audit.enabled").
version: u64Monotonically increasing version. Starts at 1 on register; each
supersede increments by one.
resource_type: StringLogical type of the resource — e.g. "config_key", "vault_path",
"policy", "audit_surface".
schema: StringSchema / value-shape description (free-form for the tracer; a future slice can promote this to a structured schema id).
mutability: Mutability§sensitivity: Sensitivity§managed: booltrue for operator-owned guardrail entries (managed-policy /
managed-config namespace style). false for ordinary entries.
required_action: StringPolicy action a caller must satisfy to mutate the underlying resource (not the registry entry itself).
required_resource: StringPolicy resource the action applies to.
evidence_requirement: EvidenceRequirement§updated_by: StringDisplay form of the principal who last wrote this entry.
updated_at_ms: u128Unix ms when this version became active.
Trait Implementations§
Source§impl Clone for ConfigRegistryEntry
impl Clone for ConfigRegistryEntry
Source§fn clone(&self) -> ConfigRegistryEntry
fn clone(&self) -> ConfigRegistryEntry
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 ConfigRegistryEntry
impl Debug for ConfigRegistryEntry
Source§impl PartialEq for ConfigRegistryEntry
impl PartialEq for ConfigRegistryEntry
Source§fn eq(&self, other: &ConfigRegistryEntry) -> bool
fn eq(&self, other: &ConfigRegistryEntry) -> bool
self and other values to be equal, and is used by ==.impl Eq for ConfigRegistryEntry
impl StructuralPartialEq for ConfigRegistryEntry
Auto Trait Implementations§
impl Freeze for ConfigRegistryEntry
impl RefUnwindSafe for ConfigRegistryEntry
impl Send for ConfigRegistryEntry
impl Sync for ConfigRegistryEntry
impl Unpin for ConfigRegistryEntry
impl UnsafeUnpin for ConfigRegistryEntry
impl UnwindSafe for ConfigRegistryEntry
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request