pub struct RestoreEntity {
pub id: Id,
}Expand description
Restores a deleted entity (spec Section 3.2).
Transitions a DELETED entity back to ACTIVE state. If the entity is ACTIVE or does not exist, this is a no-op.
Fields§
§id: IdThe entity to restore.
Trait Implementations§
Source§impl Clone for RestoreEntity
impl Clone for RestoreEntity
Source§fn clone(&self) -> RestoreEntity
fn clone(&self) -> RestoreEntity
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 RestoreEntity
impl Debug for RestoreEntity
Source§impl PartialEq for RestoreEntity
impl PartialEq for RestoreEntity
impl Eq for RestoreEntity
impl StructuralPartialEq for RestoreEntity
Auto Trait Implementations§
impl Freeze for RestoreEntity
impl RefUnwindSafe for RestoreEntity
impl Send for RestoreEntity
impl Sync for RestoreEntity
impl Unpin for RestoreEntity
impl UnwindSafe for RestoreEntity
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