pub struct EntityTreeSnapshot {
pub table_data: TableLevelSnapshot,
pub children: Vec<EntityTreeSnapshot>,
}Expand description
Recursive snapshot of an entity and all its strong-relationship children. Used for delete undo/redo: snapshot before delete, restore on undo.
Fields§
§table_data: TableLevelSnapshot§children: Vec<EntityTreeSnapshot>Trait Implementations§
Source§impl Clone for EntityTreeSnapshot
impl Clone for EntityTreeSnapshot
Source§fn clone(&self) -> EntityTreeSnapshot
fn clone(&self) -> EntityTreeSnapshot
Returns a duplicate of the value. Read more
1.0.0 · 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 EntityTreeSnapshot
impl Debug for EntityTreeSnapshot
Source§impl Default for EntityTreeSnapshot
impl Default for EntityTreeSnapshot
Source§fn default() -> EntityTreeSnapshot
fn default() -> EntityTreeSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntityTreeSnapshot
impl<'de> Deserialize<'de> for EntityTreeSnapshot
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
Auto Trait Implementations§
impl Freeze for EntityTreeSnapshot
impl RefUnwindSafe for EntityTreeSnapshot
impl Send for EntityTreeSnapshot
impl Sync for EntityTreeSnapshot
impl Unpin for EntityTreeSnapshot
impl UnsafeUnpin for EntityTreeSnapshot
impl UnwindSafe for EntityTreeSnapshot
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