pub struct AlignmentEntry {
pub run_path: RunPath,
pub step_id: StepId,
pub class: AlignmentClass,
pub reason: Option<String>,
}Expand description
One aligned step in a resume alignment report (spine §6.7-A).
Fields§
§run_path: RunPathWhich instance was classified (07 §5.2: the report entry is path-addressed).
A step id alone is ambiguous the moment a run nests: the same id
recurs once per foreach round and once per call of a callee, so
two entries could name the same step and mean different instances.
The path says which one — and it is the same address
requiresConfirmation already uses, so the two halves of the
report finally speak one vocabulary.
step_id: StepIdThe step being classified. Kept alongside the path: it is what a
reader recognizes, and what --allow-mutating-reexec names.
class: AlignmentClassIts alignment class.
reason: Option<String>Sub-domain annotation, e.g. preflightChanged (02 §12.3 ruling 6).
Trait Implementations§
Source§impl Clone for AlignmentEntry
impl Clone for AlignmentEntry
Source§fn clone(&self) -> AlignmentEntry
fn clone(&self) -> AlignmentEntry
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 AlignmentEntry
impl Debug for AlignmentEntry
Source§impl<'de> Deserialize<'de> for AlignmentEntry
impl<'de> Deserialize<'de> for AlignmentEntry
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 AlignmentEntry
impl JsonSchema for AlignmentEntry
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 AlignmentEntry
impl PartialEq for AlignmentEntry
Source§impl Serialize for AlignmentEntry
impl Serialize for AlignmentEntry
impl StructuralPartialEq for AlignmentEntry
Auto Trait Implementations§
impl Freeze for AlignmentEntry
impl RefUnwindSafe for AlignmentEntry
impl Send for AlignmentEntry
impl Sync for AlignmentEntry
impl Unpin for AlignmentEntry
impl UnsafeUnpin for AlignmentEntry
impl UnwindSafe for AlignmentEntry
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