pub struct ItemReport {
pub uid: i64,
pub guid: Option<String>,
pub name: String,
pub outcome: ItemOutcome,
pub work: Option<WorkReference>,
pub preserved: Vec<String>,
pub approximated: Vec<Finding>,
pub rejected: Vec<Finding>,
pub kept: Vec<String>,
pub changes: Vec<FieldChange>,
}Expand description
Mapping report for one source task.
Fields§
§uid: i64Source task UID, unique within the document only.
guid: Option<String>Source task GUID, when present.
name: StringSource task name.
outcome: ItemOutcomeCandidate action.
work: Option<WorkReference>Local work in the candidate; absent when skipped.
preserved: Vec<String>Source fields carried over exactly.
approximated: Vec<Finding>Source fields carried over with a documented loss of precision or meaning, and defaults applied to new work where the source omits a field.
rejected: Vec<Finding>Source data present in the document that the candidate does not carry.
kept: Vec<String>Fields the source omits or leaves empty, so existing work keeps its local value.
changes: Vec<FieldChange>Every local field the candidate changes on existing work; empty unless Updated.
Trait Implementations§
Source§impl Clone for ItemReport
impl Clone for ItemReport
Source§impl Debug for ItemReport
impl Debug for ItemReport
Source§impl<'de> Deserialize<'de> for ItemReport
impl<'de> Deserialize<'de> for ItemReport
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 ItemReport
Source§impl PartialEq for ItemReport
impl PartialEq for ItemReport
Source§impl Serialize for ItemReport
impl Serialize for ItemReport
impl StructuralPartialEq for ItemReport
Auto Trait Implementations§
impl Freeze for ItemReport
impl RefUnwindSafe for ItemReport
impl Send for ItemReport
impl Sync for ItemReport
impl Unpin for ItemReport
impl UnsafeUnpin for ItemReport
impl UnwindSafe for ItemReport
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