pub struct Candidate {
pub candidate_id: i64,
pub statement: String,
pub subject: Option<String>,
pub origin_source: Option<String>,
pub subject_ambiguous: bool,
pub confidence: Option<f64>,
pub predicate: Option<String>,
pub evidence: Option<EvidenceClip>,
}Expand description
A pending fact candidate, as the queue hands it over.
Fields§
§candidate_id: i64§statement: String§subject: Option<String>§origin_source: Option<String>§subject_ambiguous: boolThe subject was guessed from an ambiguous name match. Carried through rather than hidden: the guess is usually right and the ambiguity is usually a duplicate identity worth fixing at the root.
confidence: Option<f64>§predicate: Option<String>§evidence: Option<EvidenceClip>The origin episode, when pending was asked for evidence — what
the verification mechanism judges the claim against.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Candidate
impl<'de> Deserialize<'de> for Candidate
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 Candidate
impl RefUnwindSafe for Candidate
impl Send for Candidate
impl Sync for Candidate
impl Unpin for Candidate
impl UnsafeUnpin for Candidate
impl UnwindSafe for Candidate
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