pub struct Assertion {
pub id: AssertionId,
pub statement: StatementId,
pub episode: String,
pub extractor: Option<String>,
pub polarity: Polarity,
pub claimed_from: Timestamp,
pub claimed_to: Timestamp,
pub confidence: f32,
pub recorded_at: Timestamp,
pub retracted_at: Option<Timestamp>,
pub trust: TrustTier,
}Expand description
“Episode E, via extractor R, claimed S held over I, with confidence c.”
Fields§
§id: AssertionId§statement: StatementId§episode: String§extractor: Option<String>§polarity: Polarity§claimed_from: Timestamp§claimed_to: Timestamp§confidence: f32§recorded_at: Timestamp§retracted_at: Option<Timestamp>§trust: TrustTierTrust tier of the supporting episode at ingest time.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Assertion
impl<'de> Deserialize<'de> for Assertion
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 Assertion
impl RefUnwindSafe for Assertion
impl Send for Assertion
impl Sync for Assertion
impl Unpin for Assertion
impl UnsafeUnpin for Assertion
impl UnwindSafe for Assertion
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