pub struct GateDeclaration {
pub policy: String,
pub dataset_version: String,
}Expand description
The gate declaration governing promotions into an environment: the
gate policy’s name and the dataset version the gate replays. Names
only — the declaration, not the evaluator: the rule in force when a
promotion happens is data an audit reads, not code it infers. Wave 4
evaluates it through the RevisionGateEvaluator seam before any
pointer moves.
Fields§
§policy: StringThe gate policy’s name (the rusty-eval GatePolicy the control
plane will evaluate through the core seam, wave 4).
dataset_version: StringThe recorded dataset version the gate replays the revision against. Versioned because datasets are immutable per version: re-running the gate must mean re-reading the same evidence.
Trait Implementations§
Source§impl Clone for GateDeclaration
impl Clone for GateDeclaration
Source§impl Debug for GateDeclaration
impl Debug for GateDeclaration
Source§impl<'de> Deserialize<'de> for GateDeclaration
impl<'de> Deserialize<'de> for GateDeclaration
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
impl Eq for GateDeclaration
Source§impl PartialEq for GateDeclaration
impl PartialEq for GateDeclaration
Source§impl Serialize for GateDeclaration
impl Serialize for GateDeclaration
impl StructuralPartialEq for GateDeclaration
Auto Trait Implementations§
impl Freeze for GateDeclaration
impl RefUnwindSafe for GateDeclaration
impl Send for GateDeclaration
impl Sync for GateDeclaration
impl Unpin for GateDeclaration
impl UnsafeUnpin for GateDeclaration
impl UnwindSafe for GateDeclaration
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