pub enum GraphStrategy {
AddWins,
RemoveWins,
}Expand description
Strategy for handling graph conflicts
Variants§
AddWins
Add-Wins: Vertices and edges are never removed, only marked as deleted
RemoveWins
Remove-Wins: Deleted vertices and edges are completely removed
Trait Implementations§
Source§impl Clone for GraphStrategy
impl Clone for GraphStrategy
Source§fn clone(&self) -> GraphStrategy
fn clone(&self) -> GraphStrategy
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 GraphStrategy
impl Debug for GraphStrategy
Source§impl<'de> Deserialize<'de> for GraphStrategy
impl<'de> Deserialize<'de> for GraphStrategy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GraphStrategy
impl PartialEq for GraphStrategy
Source§impl Serialize for GraphStrategy
impl Serialize for GraphStrategy
impl Eq for GraphStrategy
impl StructuralPartialEq for GraphStrategy
Auto Trait Implementations§
impl Freeze for GraphStrategy
impl RefUnwindSafe for GraphStrategy
impl Send for GraphStrategy
impl Sync for GraphStrategy
impl Unpin for GraphStrategy
impl UnwindSafe for GraphStrategy
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