pub struct CopyReport {
pub copy: Option<u64>,
pub copied: Vec<CopiedEntity>,
pub reused: Vec<CopiedEntity>,
pub joined: Vec<u64>,
pub skipped: Vec<u64>,
pub regenerated: Vec<u64>,
pub applied: bool,
}Expand description
What a copy or an append did, or, for a dry run, would do.
Fields§
§copy: Option<u64>The product’s copy; None for an append.
copied: Vec<CopiedEntity>Every entity copied, in the order the copies were made.
reused: Vec<CopiedEntity>Append: source entities the target holds an equal one of, with it.
joined: Vec<u64>Existing relationships and layers the copies joined.
skipped: Vec<u64>Relationships of an original the copies do not get.
regenerated: Vec<u64>Append: copies whose GlobalId was regenerated.
applied: boolWhether the model was changed: false for a dry run.
Trait Implementations§
Source§impl Clone for CopyReport
impl Clone for CopyReport
Source§fn clone(&self) -> CopyReport
fn clone(&self) -> CopyReport
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 CopyReport
impl Debug for CopyReport
Source§impl Default for CopyReport
impl Default for CopyReport
Source§fn default() -> CopyReport
fn default() -> CopyReport
Returns the “default value” for a type. Read more
impl Eq for CopyReport
Source§impl PartialEq for CopyReport
impl PartialEq for CopyReport
impl StructuralPartialEq for CopyReport
Auto Trait Implementations§
impl Freeze for CopyReport
impl RefUnwindSafe for CopyReport
impl Send for CopyReport
impl Sync for CopyReport
impl Unpin for CopyReport
impl UnsafeUnpin for CopyReport
impl UnwindSafe for CopyReport
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.