pub struct ProposedField {
pub field: ClaimField,
pub value: String,
pub edited: bool,
}Expand description
One value read out of a document and offered for review.
edited is the difference between “this is what the extractor read” and
“this is what the user typed instead”, and it survives into the recorded
state, so a later audit can tell a machine reading from a human correction.
Fields§
§field: ClaimFieldWhich field.
value: StringThe value, as text: the domain records what the document said, not a parsed interpretation of it.
edited: booltrue once the user changed it while the review was open.
Trait Implementations§
Source§impl Clone for ProposedField
impl Clone for ProposedField
Source§impl Debug for ProposedField
impl Debug for ProposedField
Source§impl<'de> Deserialize<'de> for ProposedField
impl<'de> Deserialize<'de> for ProposedField
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 ProposedField
Source§impl PartialEq for ProposedField
impl PartialEq for ProposedField
Source§impl Serialize for ProposedField
impl Serialize for ProposedField
impl StructuralPartialEq for ProposedField
Auto Trait Implementations§
impl Freeze for ProposedField
impl RefUnwindSafe for ProposedField
impl Send for ProposedField
impl Sync for ProposedField
impl Unpin for ProposedField
impl UnsafeUnpin for ProposedField
impl UnwindSafe for ProposedField
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.