pub struct GraphSnapshot {
pub snapshot_version: u32,
pub db_path: Option<String>,
pub op_seq: u64,
pub scopes: Vec<String>,
pub view: GraphView,
pub truncated: Option<GraphTruncation>,
pub nodes: Vec<GraphNode>,
pub edges: Vec<GraphEdge>,
}Fields§
§snapshot_version: u32§db_path: Option<String>§op_seq: u64§scopes: Vec<String>§view: GraphView§truncated: Option<GraphTruncation>§nodes: Vec<GraphNode>§edges: Vec<GraphEdge>Trait Implementations§
Source§impl Clone for GraphSnapshot
impl Clone for GraphSnapshot
Source§fn clone(&self) -> GraphSnapshot
fn clone(&self) -> GraphSnapshot
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 GraphSnapshot
impl Debug for GraphSnapshot
Source§impl<'de> Deserialize<'de> for GraphSnapshot
impl<'de> Deserialize<'de> for GraphSnapshot
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
Source§impl PartialEq for GraphSnapshot
impl PartialEq for GraphSnapshot
Source§impl Serialize for GraphSnapshot
impl Serialize for GraphSnapshot
impl StructuralPartialEq for GraphSnapshot
Auto Trait Implementations§
impl Freeze for GraphSnapshot
impl RefUnwindSafe for GraphSnapshot
impl Send for GraphSnapshot
impl Sync for GraphSnapshot
impl Unpin for GraphSnapshot
impl UnsafeUnpin for GraphSnapshot
impl UnwindSafe for GraphSnapshot
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