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