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