pub struct StageResult {
pub stage: u8,
pub name: &'static str,
pub passed: bool,
pub diagnostics: Vec<Diagnostic>,
pub policy_violations: Vec<PolicyViolation>,
}Expand description
The outcome of a single reflection stage.
Fields§
§stage: u8Stage number (1, 2, or 3).
name: &'static strStage name.
passed: boolWhether this stage passed.
diagnostics: Vec<Diagnostic>Diagnostics produced by this stage.
policy_violations: Vec<PolicyViolation>Policy violations (Stage 2 only).
Trait Implementations§
Source§impl Clone for StageResult
impl Clone for StageResult
Source§impl Debug for StageResult
impl Debug for StageResult
Source§impl PartialEq for StageResult
impl PartialEq for StageResult
impl StructuralPartialEq for StageResult
Auto Trait Implementations§
impl Freeze for StageResult
impl RefUnwindSafe for StageResult
impl Send for StageResult
impl Sync for StageResult
impl Unpin for StageResult
impl UnsafeUnpin for StageResult
impl UnwindSafe for StageResult
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