pub struct ObjectVerification {
pub object: String,
pub kind: String,
pub task: String,
pub verdict: Option<String>,
pub outcome: VerifyOutcome,
pub reasons: Vec<VerifyReason>,
pub signer: Option<SignerView>,
pub statements: usize,
pub same_tree_as: Option<String>,
}Expand description
One task object’s verification.
Fields§
§object: StringThe commit (or skip record) id.
kind: Stringtask or skip.
task: StringTask ID.
verdict: Option<String>The verdict the statements claim.
outcome: VerifyOutcomeThe outcome.
reasons: Vec<VerifyReason>Every reason found.
signer: Option<SignerView>Who signed, when signed.
statements: usizeHow many statements the bundle holds.
same_tree_as: Option<String>For a missing attestation: an attested commit with the same tree.
Trait Implementations§
Source§impl Clone for ObjectVerification
impl Clone for ObjectVerification
Source§impl Debug for ObjectVerification
impl Debug for ObjectVerification
impl Eq for ObjectVerification
Source§impl JsonSchema for ObjectVerification
impl JsonSchema for ObjectVerification
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 ObjectVerification
impl PartialEq for ObjectVerification
Source§impl Serialize for ObjectVerification
impl Serialize for ObjectVerification
impl StructuralPartialEq for ObjectVerification
Auto Trait Implementations§
impl Freeze for ObjectVerification
impl RefUnwindSafe for ObjectVerification
impl Send for ObjectVerification
impl Sync for ObjectVerification
impl Unpin for ObjectVerification
impl UnsafeUnpin for ObjectVerification
impl UnwindSafe for ObjectVerification
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