pub struct Divergence {Show 15 fields
pub kind: DivergenceKind,
pub severity: Severity,
pub case_id: CaseId,
pub suite: Option<String>,
pub path: Option<String>,
pub reference: Option<Value>,
pub candidate: Option<Value>,
pub message: String,
pub machine_code: String,
pub source_location: Option<SourceLocation>,
pub target_location: Option<SourceLocation>,
pub policy: Option<String>,
pub normalizers_applied: Vec<String>,
pub hint: Option<String>,
pub minimal_reproduction: Option<MinimalReproduction>,
}Fields§
§kind: DivergenceKind§severity: Severity§case_id: CaseId§suite: Option<String>§path: Option<String>§reference: Option<Value>§candidate: Option<Value>§message: String§machine_code: String§source_location: Option<SourceLocation>§target_location: Option<SourceLocation>§policy: Option<String>§normalizers_applied: Vec<String>§hint: Option<String>§minimal_reproduction: Option<MinimalReproduction>Trait Implementations§
Source§impl Clone for Divergence
impl Clone for Divergence
Source§impl Debug for Divergence
impl Debug for Divergence
Source§impl<'de> Deserialize<'de> for Divergence
impl<'de> Deserialize<'de> for Divergence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Divergence
impl JsonSchema for Divergence
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 Divergence
impl PartialEq for Divergence
Source§impl Serialize for Divergence
impl Serialize for Divergence
impl StructuralPartialEq for Divergence
Auto Trait Implementations§
impl Forget for Divergence
impl Freeze for Divergence
impl Move for Divergence
impl RefUnwindSafe for Divergence
impl Send for Divergence
impl Sync for Divergence
impl Unpin for Divergence
impl UnsafeUnpin for Divergence
impl UnwindSafe for Divergence
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