pub struct EvidenceProvenance {
pub source: EvidenceSource,
pub method: EvidenceMethod,
pub strength: EvidenceStrength,
pub provider_id: String,
}Expand description
Provenance carried by every known physical observation.
Fields§
§source: EvidenceSourceLayer that supplied the fact.
method: EvidenceMethodHow that layer obtained the fact.
strength: EvidenceStrengthWhether the fact is safe for behavior or diagnostic only.
provider_id: StringStable identity of the provider that made the observation.
Trait Implementations§
Source§impl Clone for EvidenceProvenance
impl Clone for EvidenceProvenance
Source§fn clone(&self) -> EvidenceProvenance
fn clone(&self) -> EvidenceProvenance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EvidenceProvenance
impl Debug for EvidenceProvenance
Source§impl<'de> Deserialize<'de> for EvidenceProvenance
impl<'de> Deserialize<'de> for EvidenceProvenance
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 EvidenceProvenance
Source§impl PartialEq for EvidenceProvenance
impl PartialEq for EvidenceProvenance
Source§impl Serialize for EvidenceProvenance
impl Serialize for EvidenceProvenance
impl StructuralPartialEq for EvidenceProvenance
Auto Trait Implementations§
impl Freeze for EvidenceProvenance
impl RefUnwindSafe for EvidenceProvenance
impl Send for EvidenceProvenance
impl Sync for EvidenceProvenance
impl Unpin for EvidenceProvenance
impl UnsafeUnpin for EvidenceProvenance
impl UnwindSafe for EvidenceProvenance
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