pub enum ExplainEvidence {
Record(RecordEvidence),
Bundle(BundleEvidence),
}Expand description
One side’s evidence for an explanation (3.8.3): { record, plan? } or
{ bundle }, the shape spec 040 3.15.2 gives the bindings. serde ignores
deny_unknown_fields on an untagged enum, so each arm refuses unknown
members itself.
Variants§
Record(RecordEvidence)
Bundle(BundleEvidence)
Implementations§
Trait Implementations§
Source§impl Clone for ExplainEvidence
impl Clone for ExplainEvidence
Source§impl Debug for ExplainEvidence
impl Debug for ExplainEvidence
Source§impl<'de> Deserialize<'de> for ExplainEvidence
impl<'de> Deserialize<'de> for ExplainEvidence
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ExplainEvidence
impl JsonSchema for ExplainEvidence
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 ExplainEvidence
impl PartialEq for ExplainEvidence
Source§impl Serialize for ExplainEvidence
impl Serialize for ExplainEvidence
impl StructuralPartialEq for ExplainEvidence
Auto Trait Implementations§
impl Freeze for ExplainEvidence
impl RefUnwindSafe for ExplainEvidence
impl Send for ExplainEvidence
impl Sync for ExplainEvidence
impl Unpin for ExplainEvidence
impl UnsafeUnpin for ExplainEvidence
impl UnwindSafe for ExplainEvidence
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