pub struct DegradationEvent {
pub claim_id: String,
pub from_class: EvidenceClass,
pub to_class: EvidenceClass,
pub reason: DegradationReason,
pub timestamp: String,
}Expand description
Record of a claim’s evidence class being downgraded.
Fields§
§claim_id: StringIdentifier for the claim that was degraded.
from_class: EvidenceClassOriginal evidence class before degradation.
to_class: EvidenceClassNew evidence class after degradation.
reason: DegradationReasonWhy the degradation happened.
timestamp: StringISO-8601 timestamp of when degradation was detected.
Trait Implementations§
Source§impl Clone for DegradationEvent
impl Clone for DegradationEvent
Source§fn clone(&self) -> DegradationEvent
fn clone(&self) -> DegradationEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 DegradationEvent
impl Debug for DegradationEvent
Source§impl<'de> Deserialize<'de> for DegradationEvent
impl<'de> Deserialize<'de> for DegradationEvent
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
Auto Trait Implementations§
impl Freeze for DegradationEvent
impl RefUnwindSafe for DegradationEvent
impl Send for DegradationEvent
impl Sync for DegradationEvent
impl Unpin for DegradationEvent
impl UnsafeUnpin for DegradationEvent
impl UnwindSafe for DegradationEvent
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