pub enum EvidenceKind {
Numeric,
KeyValue,
Snippet,
FileRef,
}Expand description
Discriminator describing the shape of an Evidence payload.
Returned by Evidence::kind.
Variants§
Numeric
A single labeled numeric measurement.
KeyValue
A bag of string-to-string pairs.
Snippet
A short text or code snippet.
FileRef
A reference to a file on disk.
Trait Implementations§
Source§impl Clone for EvidenceKind
impl Clone for EvidenceKind
Source§fn clone(&self) -> EvidenceKind
fn clone(&self) -> EvidenceKind
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 EvidenceKind
impl Debug for EvidenceKind
Source§impl Hash for EvidenceKind
impl Hash for EvidenceKind
Source§impl PartialEq for EvidenceKind
impl PartialEq for EvidenceKind
Source§fn eq(&self, other: &EvidenceKind) -> bool
fn eq(&self, other: &EvidenceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EvidenceKind
impl Eq for EvidenceKind
impl StructuralPartialEq for EvidenceKind
Auto Trait Implementations§
impl Freeze for EvidenceKind
impl RefUnwindSafe for EvidenceKind
impl Send for EvidenceKind
impl Sync for EvidenceKind
impl Unpin for EvidenceKind
impl UnsafeUnpin for EvidenceKind
impl UnwindSafe for EvidenceKind
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