pub enum Conclusion {
Success,
Failure,
Neutral,
}Expand description
The branch’s conclusion.
Variants§
Success
Every tick carries verifying evidence.
Failure
A tick is unverifiable, stale or regressed (or not verified while required), or a claim in range cannot be checked.
Neutral
Nothing to check: never success.
Implementations§
Source§impl Conclusion
impl Conclusion
Sourcepub fn of(
ticks: &[TickReport],
require_verified: bool,
not_evaluated: &[String],
) -> Self
pub fn of( ticks: &[TickReport], require_verified: bool, not_evaluated: &[String], ) -> Self
The rule (R7): any failing tick, or a claim this version cannot check, is failure; nothing to check is neutral; else success.
Trait Implementations§
Source§impl Clone for Conclusion
impl Clone for Conclusion
impl Copy for Conclusion
Source§impl Debug for Conclusion
impl Debug for Conclusion
impl Eq for Conclusion
Source§impl JsonSchema for Conclusion
impl JsonSchema for Conclusion
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for Conclusion
impl PartialEq for Conclusion
Source§impl Serialize for Conclusion
impl Serialize for Conclusion
impl StructuralPartialEq for Conclusion
Auto Trait Implementations§
impl Freeze for Conclusion
impl RefUnwindSafe for Conclusion
impl Send for Conclusion
impl Sync for Conclusion
impl Unpin for Conclusion
impl UnsafeUnpin for Conclusion
impl UnwindSafe for Conclusion
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