pub struct PasteReport {
pub entities: BTreeMap<EntityId, EntityId>,
pub constraints: Vec<ConstraintId>,
pub groups: Vec<GroupId>,
pub dropped_refs: Vec<(EntityId, String)>,
}Expand description
Result of a paste.
Fields§
§entities: BTreeMap<EntityId, EntityId>Old → new entity IDs.
constraints: Vec<ConstraintId>New constraint IDs.
groups: Vec<GroupId>New group IDs.
dropped_refs: Vec<(EntityId, String)>(new entity, property) references dropped because the target is missing.
Trait Implementations§
Source§impl Clone for PasteReport
impl Clone for PasteReport
Source§fn clone(&self) -> PasteReport
fn clone(&self) -> PasteReport
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 PasteReport
impl Debug for PasteReport
Source§impl Default for PasteReport
impl Default for PasteReport
Source§fn default() -> PasteReport
fn default() -> PasteReport
Returns the “default value” for a type. Read more
impl Eq for PasteReport
Source§impl PartialEq for PasteReport
impl PartialEq for PasteReport
Source§fn eq(&self, other: &PasteReport) -> bool
fn eq(&self, other: &PasteReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PasteReport
Auto Trait Implementations§
impl Freeze for PasteReport
impl RefUnwindSafe for PasteReport
impl Send for PasteReport
impl Sync for PasteReport
impl Unpin for PasteReport
impl UnsafeUnpin for PasteReport
impl UnwindSafe for PasteReport
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