pub struct NodeReviewState {Show 21 fields
pub node_id: Option<String>,
pub node_class: Option<String>,
pub files_created: Vec<String>,
pub files_modified: Vec<String>,
pub writes_count: usize,
pub diffs_count: usize,
pub syntax_ok: Option<bool>,
pub build_ok: Option<bool>,
pub tests_ok: Option<bool>,
pub lint_ok: Option<bool>,
pub diagnostics_count: Option<usize>,
pub tests_passed: Option<usize>,
pub tests_failed: Option<usize>,
pub energy: Option<f32>,
pub energy_components: Option<EnergyComponents>,
pub stage_outcomes: Vec<StageOutcome>,
pub degraded: bool,
pub degraded_reasons: Vec<String>,
pub summary: Option<String>,
pub diff: Option<String>,
pub description: Option<String>,
}Expand description
PSP-5 Phase 7: Aggregated review state for the active approval boundary.
Populated incrementally as VerificationComplete, BundleApplied, and ApprovalRequest events arrive. Consumed by the review modal and diff viewer.
Fields§
§node_id: Option<String>Node currently under review
node_class: Option<String>Node class (Interface, Implementation, Integration)
files_created: Vec<String>Files created by the bundle
files_modified: Vec<String>Files modified by the bundle
writes_count: usizeWrite operation count
diffs_count: usizeDiff operation count
syntax_ok: Option<bool>Latest verification result fields
build_ok: Option<bool>§tests_ok: Option<bool>§lint_ok: Option<bool>§diagnostics_count: Option<usize>§tests_passed: Option<usize>§tests_failed: Option<usize>§energy: Option<f32>§energy_components: Option<EnergyComponents>Full energy component breakdown
stage_outcomes: Vec<StageOutcome>Per-stage outcomes with sensor status
degraded: boolWhether verification ran degraded
degraded_reasons: Vec<String>§summary: Option<String>Verification summary line
diff: Option<String>Diff text for the viewer
description: Option<String>Approval request description
Trait Implementations§
Source§impl Clone for NodeReviewState
impl Clone for NodeReviewState
Source§fn clone(&self) -> NodeReviewState
fn clone(&self) -> NodeReviewState
Returns a duplicate of the value. Read more
1.0.0 · 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 NodeReviewState
impl Debug for NodeReviewState
Source§impl Default for NodeReviewState
impl Default for NodeReviewState
Source§fn default() -> NodeReviewState
fn default() -> NodeReviewState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeReviewState
impl RefUnwindSafe for NodeReviewState
impl Send for NodeReviewState
impl Sync for NodeReviewState
impl Unpin for NodeReviewState
impl UnsafeUnpin for NodeReviewState
impl UnwindSafe for NodeReviewState
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<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>
Converts
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>
Converts
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 more