pub struct Correction {
pub wrong: String,
pub right: Option<String>,
pub about: Option<String>,
pub fact_uid: Option<String>,
}Expand description
One thing the user said the graph has wrong. right absent is a
rejection rather than a replacement — pkg writes a negation for those,
which is how it stops re-proposing what was already settled.
Fields§
§wrong: String§right: Option<String>§about: Option<String>§fact_uid: Option<String>pkg’s own id for the wrong claim, when the transcript happened to
carry one. Rarely present: tool results are clipped before the
distiller reads them, so uids usually do not survive. pkg falls
back to matching the wrong text, narrowed by about.
Trait Implementations§
Source§impl Clone for Correction
impl Clone for Correction
Source§fn clone(&self) -> Correction
fn clone(&self) -> Correction
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 Correction
impl Debug for Correction
Source§impl<'de> Deserialize<'de> for Correction
impl<'de> Deserialize<'de> for Correction
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 Correction
Source§impl PartialEq for Correction
impl PartialEq for Correction
Source§impl Serialize for Correction
impl Serialize for Correction
impl StructuralPartialEq for Correction
Auto Trait Implementations§
impl Freeze for Correction
impl RefUnwindSafe for Correction
impl Send for Correction
impl Sync for Correction
impl Unpin for Correction
impl UnsafeUnpin for Correction
impl UnwindSafe for Correction
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