pub struct GraphPersistSnapshot {
pub name: String,
pub nodes: IndexMap<String, NodeSlice>,
pub subgraphs: IndexMap<String, GraphPersistSnapshot>,
}Expand description
Portable snapshot of a graph’s state.
Fields§
§name: StringGraph name as set at construction / mount.
nodes: IndexMap<String, NodeSlice>Per-node state by local name, in namespace insertion order.
subgraphs: IndexMap<String, GraphPersistSnapshot>Mounted subgraph snapshots, keyed by mount name.
Trait Implementations§
Source§impl Clone for GraphPersistSnapshot
impl Clone for GraphPersistSnapshot
Source§fn clone(&self) -> GraphPersistSnapshot
fn clone(&self) -> GraphPersistSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GraphPersistSnapshot
impl Debug for GraphPersistSnapshot
Source§impl<'de> Deserialize<'de> for GraphPersistSnapshot
impl<'de> Deserialize<'de> for GraphPersistSnapshot
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 GraphPersistSnapshot
impl RefUnwindSafe for GraphPersistSnapshot
impl Send for GraphPersistSnapshot
impl Sync for GraphPersistSnapshot
impl Unpin for GraphPersistSnapshot
impl UnsafeUnpin for GraphPersistSnapshot
impl UnwindSafe for GraphPersistSnapshot
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