pub struct FactSet {
pub nodes: Vec<Node>,
pub edges: Vec<Edge>,
}Expand description
The set of nodes and edges extracted from a single source blob (or otherwise
assembled together). Applying a fact set to a crate::Store is atomic.
Fields§
§nodes: Vec<Node>Nodes to upsert.
edges: Vec<Edge>Edges to insert (endpoints must resolve to nodes in this set or already present in the store).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FactSet
impl<'de> Deserialize<'de> for FactSet
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 FactSet
Auto Trait Implementations§
impl Freeze for FactSet
impl RefUnwindSafe for FactSet
impl Send for FactSet
impl Sync for FactSet
impl Unpin for FactSet
impl UnsafeUnpin for FactSet
impl UnwindSafe for FactSet
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