pub struct RemovalReport {
pub removed: Vec<RemovedEntity>,
pub kept: Vec<KeptEntity>,
pub detached: Vec<u64>,
pub rebased: Vec<u64>,
pub applied: bool,
}Expand description
What a removal or purge did, or, for a dry run, would do.
Fields§
§removed: Vec<RemovedEntity>Every entity removed, in id order.
kept: Vec<KeptEntity>Entities reached and kept, with the reason.
detached: Vec<u64>Relationships and layer assignments that lost a removed member and stay.
rebased: Vec<u64>Placements re-based onto a kept ancestor.
applied: boolWhether the model was changed: false for a dry run.
Trait Implementations§
Source§impl Clone for RemovalReport
impl Clone for RemovalReport
Source§fn clone(&self) -> RemovalReport
fn clone(&self) -> RemovalReport
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 RemovalReport
impl Debug for RemovalReport
Source§impl Default for RemovalReport
impl Default for RemovalReport
Source§fn default() -> RemovalReport
fn default() -> RemovalReport
Returns the “default value” for a type. Read more
impl Eq for RemovalReport
Source§impl PartialEq for RemovalReport
impl PartialEq for RemovalReport
impl StructuralPartialEq for RemovalReport
Auto Trait Implementations§
impl Freeze for RemovalReport
impl RefUnwindSafe for RemovalReport
impl Send for RemovalReport
impl Sync for RemovalReport
impl Unpin for RemovalReport
impl UnsafeUnpin for RemovalReport
impl UnwindSafe for RemovalReport
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.