pub struct EncodedGraph {
pub nodes: Vec<(String, String, HashMap<String, Value>)>,
pub relationships: Vec<(String, String, String, HashMap<String, Value>)>,
}Expand description
Encoded graph
Fields§
§nodes: Vec<(String, String, HashMap<String, Value>)>List of nodes in the graph (varname, label, properties)
relationships: Vec<(String, String, String, HashMap<String, Value>)>List of relationships in the graph (source,destination,label, properties) source/destination must match a varname in nodes.
Trait Implementations§
Source§impl Clone for EncodedGraph
impl Clone for EncodedGraph
Source§fn clone(&self) -> EncodedGraph
fn clone(&self) -> EncodedGraph
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 EncodedGraph
impl Debug for EncodedGraph
Source§impl<'de> Deserialize<'de> for EncodedGraph
impl<'de> Deserialize<'de> for EncodedGraph
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 EncodedGraph
impl RefUnwindSafe for EncodedGraph
impl Send for EncodedGraph
impl Sync for EncodedGraph
impl Unpin for EncodedGraph
impl UnwindSafe for EncodedGraph
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