pub struct ScanGraphCaptureEditClassification {
pub schema_version: u32,
pub edit_kind: ScanGraphCaptureEditKind,
pub action: GraphCaptureEditAction,
pub stability: GraphCaptureEditStability,
pub reason: &'static str,
pub graph_stable: bool,
pub graph_breaking: bool,
pub parameter_update_required: bool,
}Expand description
Evidence emitted by scan graph-capture edit classification.
Fields§
§schema_version: u32Evidence schema version.
edit_kind: ScanGraphCaptureEditKindEdit kind that was classified.
action: GraphCaptureEditActionReplay, update, or recapture action.
stability: GraphCaptureEditStabilityWhether graph topology and pointer shape remain stable.
reason: &'static strExact reason code for tests, logs, and release evidence.
graph_stable: boolTrue when the graph can be replayed without re-recording.
graph_breaking: boolTrue when the edit invalidates the captured graph.
parameter_update_required: boolTrue when content changed but graph shape did not.
Implementations§
Source§impl ScanGraphCaptureEditClassification
impl ScanGraphCaptureEditClassification
Sourcepub const fn is_complete(self) -> bool
pub const fn is_complete(self) -> bool
Return true when this evidence has a valid schema, exact reason, and a self-consistent action/stability pair.
Trait Implementations§
Source§impl Clone for ScanGraphCaptureEditClassification
impl Clone for ScanGraphCaptureEditClassification
Source§fn clone(&self) -> ScanGraphCaptureEditClassification
fn clone(&self) -> ScanGraphCaptureEditClassification
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 moreimpl Copy for ScanGraphCaptureEditClassification
impl Eq for ScanGraphCaptureEditClassification
Source§impl PartialEq for ScanGraphCaptureEditClassification
impl PartialEq for ScanGraphCaptureEditClassification
Source§fn eq(&self, other: &ScanGraphCaptureEditClassification) -> bool
fn eq(&self, other: &ScanGraphCaptureEditClassification) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScanGraphCaptureEditClassification
Auto Trait Implementations§
impl Freeze for ScanGraphCaptureEditClassification
impl RefUnwindSafe for ScanGraphCaptureEditClassification
impl Send for ScanGraphCaptureEditClassification
impl Sync for ScanGraphCaptureEditClassification
impl Unpin for ScanGraphCaptureEditClassification
impl UnsafeUnpin for ScanGraphCaptureEditClassification
impl UnwindSafe for ScanGraphCaptureEditClassification
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
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§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
Compare self to
key and return true if they are equal.