pub struct ImportReport {
pub source: SourceSummary,
pub target_project: Key,
pub items: Vec<ItemReport>,
pub links: Vec<LinkReport>,
pub removed_dependencies: Vec<RemovedDependency>,
pub calendars: Vec<CalendarReport>,
pub rejected: Vec<Finding>,
pub retained: Vec<Key>,
}Expand description
Full import report returned with the candidate and its reviewed preview.
Fields§
§source: SourceSummarySource document identity.
target_project: KeyProject receiving the imported work.
items: Vec<ItemReport>One entry per source task, in document order.
links: Vec<LinkReport>One entry per source link, in document order.
removed_dependencies: Vec<RemovedDependency>Local dependencies between imported work that the candidate removes because the source omits them.
calendars: Vec<CalendarReport>One entry per source calendar when calendars are imported with a time zone; empty and omitted otherwise.
rejected: Vec<Finding>Document-level data the candidate does not carry, such as resources, and calendars when no time zone is given.
retained: Vec<Key>Work in the target project that the source does not name; the candidate keeps it unchanged.
Trait Implementations§
Source§impl Clone for ImportReport
impl Clone for ImportReport
Source§impl Debug for ImportReport
impl Debug for ImportReport
Source§impl<'de> Deserialize<'de> for ImportReport
impl<'de> Deserialize<'de> for ImportReport
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
Source§impl PartialEq for ImportReport
impl PartialEq for ImportReport
Source§impl Serialize for ImportReport
impl Serialize for ImportReport
impl StructuralPartialEq for ImportReport
Auto Trait Implementations§
impl Freeze for ImportReport
impl RefUnwindSafe for ImportReport
impl Send for ImportReport
impl Sync for ImportReport
impl Unpin for ImportReport
impl UnsafeUnpin for ImportReport
impl UnwindSafe for ImportReport
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