pub struct GraphDiff {
pub added_nodes: Vec<String>,
pub removed_nodes: Vec<String>,
pub modified_nodes: Vec<String>,
pub added_edges: usize,
pub removed_edges: usize,
}Expand description
Diff result between two graph versions.
Fields§
§added_nodes: Vec<String>Nodes added in the newer version
removed_nodes: Vec<String>Nodes removed from the older version
modified_nodes: Vec<String>Nodes that changed (status, title, etc.)
added_edges: usizeNumber of edges added
removed_edges: usizeNumber of edges removed
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphDiff
impl<'de> Deserialize<'de> for GraphDiff
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
Auto Trait Implementations§
impl Freeze for GraphDiff
impl RefUnwindSafe for GraphDiff
impl Send for GraphDiff
impl Sync for GraphDiff
impl Unpin for GraphDiff
impl UnsafeUnpin for GraphDiff
impl UnwindSafe for GraphDiff
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