pub struct SheafValidationResult {
pub validator_class: SheafValidatorClass,
pub plugin_source: Option<String>,
pub passed: bool,
pub validated_boundaries: Vec<String>,
pub evidence_summary: String,
pub affected_files: Vec<String>,
pub v_sheaf_contribution: f32,
pub requeue_targets: Vec<String>,
}Expand description
PSP-5 Phase 5: Result of a single sheaf validation pass.
Fields§
§validator_class: SheafValidatorClassWhich validator class produced this result.
plugin_source: Option<String>Plugin that owns the validator (if any).
passed: boolWhether the validation passed.
validated_boundaries: Vec<String>Boundaries that were validated.
evidence_summary: StringEvidence summary when validation fails.
affected_files: Vec<String>Files or interfaces affected by the failure.
v_sheaf_contribution: f32Energy contribution to V_sheaf.
requeue_targets: Vec<String>Node IDs recommended for requeue on failure.
Implementations§
Source§impl SheafValidationResult
impl SheafValidationResult
Sourcepub fn passed(
class: SheafValidatorClass,
boundaries: Vec<String>,
) -> SheafValidationResult
pub fn passed( class: SheafValidatorClass, boundaries: Vec<String>, ) -> SheafValidationResult
Create a passing result.
Trait Implementations§
Source§impl Clone for SheafValidationResult
impl Clone for SheafValidationResult
Source§fn clone(&self) -> SheafValidationResult
fn clone(&self) -> SheafValidationResult
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 SheafValidationResult
impl Debug for SheafValidationResult
Source§impl<'de> Deserialize<'de> for SheafValidationResult
impl<'de> Deserialize<'de> for SheafValidationResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SheafValidationResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SheafValidationResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SheafValidationResult
impl Serialize for SheafValidationResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SheafValidationResult
impl RefUnwindSafe for SheafValidationResult
impl Send for SheafValidationResult
impl Sync for SheafValidationResult
impl Unpin for SheafValidationResult
impl UnsafeUnpin for SheafValidationResult
impl UnwindSafe for SheafValidationResult
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