pub struct Validation {
pub report: CheckReport,
pub edges: Vec<Edge>,
}Expand description
The outcome of a read-only validate: the report, plus the authored
edges the valid links and annotations would weave into the graph.
Splitting the edges out of the report is what lets one violation definition
serve both a gate that writes (run) and a tool surface that must not
(crate::tool_check). Nothing decides what counts as drift twice.
Fields§
§report: CheckReportWhat was checked and what drifted.
edges: Vec<Edge>The authored references edges the resolved links and annotations
imply. run inserts these; a read-only caller discards them.
Trait Implementations§
Source§impl Clone for Validation
impl Clone for Validation
Source§fn clone(&self) -> Validation
fn clone(&self) -> Validation
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 Validation
impl Debug for Validation
Source§impl Default for Validation
impl Default for Validation
Source§fn default() -> Validation
fn default() -> Validation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Validation
impl RefUnwindSafe for Validation
impl Send for Validation
impl Sync for Validation
impl Unpin for Validation
impl UnsafeUnpin for Validation
impl UnwindSafe for Validation
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