pub enum EdgeDeletionPolicy {
Nothing,
ShallowDelete,
DeepDelete,
}Expand description
Represents the policy to apply to an edge when its ent is deleted
Variants§
Nothing
When this ent instance is deleted, nothing else will be done
ShallowDelete
When this ent instance is deleted, delete the reverse edge connections of all ents connected by this edge
DeepDelete
When this ent instance is deleted, fully delete all ents connected by this edge
Trait Implementations§
Source§impl Clone for EdgeDeletionPolicy
impl Clone for EdgeDeletionPolicy
Source§fn clone(&self) -> EdgeDeletionPolicy
fn clone(&self) -> EdgeDeletionPolicy
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 EdgeDeletionPolicy
impl Debug for EdgeDeletionPolicy
Source§impl Default for EdgeDeletionPolicy
impl Default for EdgeDeletionPolicy
Source§impl Hash for EdgeDeletionPolicy
impl Hash for EdgeDeletionPolicy
Source§impl PartialEq for EdgeDeletionPolicy
impl PartialEq for EdgeDeletionPolicy
impl Copy for EdgeDeletionPolicy
impl Eq for EdgeDeletionPolicy
impl StructuralPartialEq for EdgeDeletionPolicy
Auto Trait Implementations§
impl Freeze for EdgeDeletionPolicy
impl RefUnwindSafe for EdgeDeletionPolicy
impl Send for EdgeDeletionPolicy
impl Sync for EdgeDeletionPolicy
impl Unpin for EdgeDeletionPolicy
impl UnwindSafe for EdgeDeletionPolicy
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