pub struct Evidence {
pub class: EvidenceClass,
pub fixture: EvidenceArtifact,
pub expectation: ExpectationSource,
pub catalog: CatalogIdentity,
pub locale: Option<Locale>,
pub client: Option<ClientEvidence>,
pub implementation: Option<ImplementationIdentity>,
}Expand description
Provenance attached to one conformance result.
Fields§
§class: EvidenceClass§fixture: EvidenceArtifactThe fixture or observation being executed.
expectation: ExpectationSourceThe independent source that defines the expectation.
catalog: CatalogIdentityThe catalog identity used to interpret the case.
locale: Option<Locale>The source locale, when the case has localized input or output.
client: Option<ClientEvidence>Live-client provenance, required for LiveClient evidence.
implementation: Option<ImplementationIdentity>The implementation under observation, when applicable.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Evidence
impl<'de> Deserialize<'de> for Evidence
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
impl Eq for Evidence
impl StructuralPartialEq for Evidence
Auto Trait Implementations§
impl Freeze for Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
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