pub struct VerifyReason {
pub code: String,
pub field: Option<String>,
pub expected: Option<String>,
pub found: Option<String>,
}Expand description
Why an object got its outcome.
Fields§
§code: StringA stable code, e.g. subject, trailer, line_hash, signature.
field: Option<String>The field that disagrees.
expected: Option<String>What it should be.
found: Option<String>What it is.
Trait Implementations§
Source§impl Clone for VerifyReason
impl Clone for VerifyReason
Source§impl Debug for VerifyReason
impl Debug for VerifyReason
impl Eq for VerifyReason
Source§impl JsonSchema for VerifyReason
impl JsonSchema for VerifyReason
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 VerifyReason
impl PartialEq for VerifyReason
Source§impl Serialize for VerifyReason
impl Serialize for VerifyReason
impl StructuralPartialEq for VerifyReason
Auto Trait Implementations§
impl Freeze for VerifyReason
impl RefUnwindSafe for VerifyReason
impl Send for VerifyReason
impl Sync for VerifyReason
impl Unpin for VerifyReason
impl UnsafeUnpin for VerifyReason
impl UnwindSafe for VerifyReason
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