pub struct DeleteEntity {
pub id: Id,
pub context: Option<Context>,
}Expand description
Deletes an entity (spec Section 3.2).
Transitions the entity to DELETED state. Subsequent updates are ignored until restored via RestoreEntity.
Fields§
§id: IdThe entity to delete.
context: Option<Context>Optional context for grouping changes (spec Section 4.5).
Trait Implementations§
Source§impl Clone for DeleteEntity
impl Clone for DeleteEntity
Source§fn clone(&self) -> DeleteEntity
fn clone(&self) -> DeleteEntity
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 DeleteEntity
impl Debug for DeleteEntity
Source§impl PartialEq for DeleteEntity
impl PartialEq for DeleteEntity
impl StructuralPartialEq for DeleteEntity
Auto Trait Implementations§
impl Freeze for DeleteEntity
impl RefUnwindSafe for DeleteEntity
impl Send for DeleteEntity
impl Sync for DeleteEntity
impl Unpin for DeleteEntity
impl UnwindSafe for DeleteEntity
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