pub struct ImportPlan {
pub preview: MutationPlan,
pub ndjson: String,
pub total: usize,
pub skipped: Vec<Value>,
}Expand description
What plan_import computed and apply_import uploads. Shared by the rules
and exceptions verticals: the plan, the re-encoded NDJSON, the in-file
object count, and the objects --skip-existing removed.
Fields§
§preview: MutationPlan§ndjson: StringThe file re-encoded as NDJSON, resolved once at plan time so the apply never re-reads the file after the guard.
total: usizeEvery object in the file, before --skip-existing.
skipped: Vec<Value>Objects the server already has, with --skip-existing.
Trait Implementations§
Source§impl Clone for ImportPlan
impl Clone for ImportPlan
Source§fn clone(&self) -> ImportPlan
fn clone(&self) -> ImportPlan
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 ImportPlan
impl Debug for ImportPlan
Source§impl PartialEq for ImportPlan
impl PartialEq for ImportPlan
impl StructuralPartialEq for ImportPlan
Auto Trait Implementations§
impl Freeze for ImportPlan
impl RefUnwindSafe for ImportPlan
impl Send for ImportPlan
impl Sync for ImportPlan
impl Unpin for ImportPlan
impl UnsafeUnpin for ImportPlan
impl UnwindSafe for ImportPlan
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