pub struct Proof {
pub schema: &'static str,
pub command: Vec<String>,
pub broken: Run,
pub valid: Run,
pub ok: bool,
pub rule: &'static str,
}Expand description
The whole proof.
Fields§
§schema: &'static strThe machine schema of this object.
command: Vec<String>The command the proof ran, before the scratch file’s name.
broken: RunThe run over a broken relative link, which must fail on the rule.
valid: RunThe run over a valid relative link, which must pass.
ok: boolWhether the rule fired on the broken link and stayed quiet on the valid one.
rule: &'static strThe rule the proof holds.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Proof
impl Freeze for Proof
impl Move for Proof
impl RefUnwindSafe for Proof
impl Send for Proof
impl Sync for Proof
impl Unpin for Proof
impl UnsafeUnpin for Proof
impl UnwindSafe for Proof
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