pub struct DiffGraph {
pub entries: Vec<DiffGraphEntry>,
}
Expand description
Represents a set of changes to be applied to a Code Property Graph.
DiffGraphs can be created independently of each other and therefor when adding nodes|edges, each DiffGraph has its own ID space. However, when removing nodes|edges, the nodeIds refer to the globally unique graph id space.
Fields§
§entries: Vec<DiffGraphEntry>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DiffGraph
impl<'de> Deserialize<'de> for DiffGraph
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
impl StructuralPartialEq for DiffGraph
Auto Trait Implementations§
impl Freeze for DiffGraph
impl RefUnwindSafe for DiffGraph
impl Send for DiffGraph
impl Sync for DiffGraph
impl Unpin for DiffGraph
impl UnwindSafe for DiffGraph
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