pub struct RequiresConfirmation {
pub run_path: RunPath,
pub step_id: Option<StepId>,
pub cause: String,
pub reason: String,
}Expand description
A step whose re-execution needs explicit human authorization (07 §5.2/§5.4 unified gate).
Fields§
§run_path: RunPathRun path of the gated step.
step_id: Option<StepId>The step id --allow-mutating-reexec takes for this gate (07 §5.4
step 2: authorization names steps one by one, never a wildcard).
Without it a reader has to re-derive the id from the path — which is exactly what the CLI did, and what every other consumer would have had to reimplement. Additive optional field (spine §6.1 R12): absent on pre-incorporation ledgers, where consumers fall back to the path.
cause: StringGate cause. Known values: mutatingReexec, positionalReplay,
orderInvalidated, frontierUnknown (07 §5.4); closed-set
incorporation pending.
reason: StringHuman-readable explanation.
Trait Implementations§
Source§impl Clone for RequiresConfirmation
impl Clone for RequiresConfirmation
Source§fn clone(&self) -> RequiresConfirmation
fn clone(&self) -> RequiresConfirmation
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 RequiresConfirmation
impl Debug for RequiresConfirmation
Source§impl<'de> Deserialize<'de> for RequiresConfirmation
impl<'de> Deserialize<'de> for RequiresConfirmation
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 JsonSchema for RequiresConfirmation
impl JsonSchema for RequiresConfirmation
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RequiresConfirmation
impl PartialEq for RequiresConfirmation
Source§impl Serialize for RequiresConfirmation
impl Serialize for RequiresConfirmation
impl StructuralPartialEq for RequiresConfirmation
Auto Trait Implementations§
impl Freeze for RequiresConfirmation
impl RefUnwindSafe for RequiresConfirmation
impl Send for RequiresConfirmation
impl Sync for RequiresConfirmation
impl Unpin for RequiresConfirmation
impl UnsafeUnpin for RequiresConfirmation
impl UnwindSafe for RequiresConfirmation
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