pub struct GraphV1 {
pub schema: String,
pub vault_id: String,
pub revision: u64,
pub nodes: Vec<GraphNodeV1>,
pub edges: Vec<GraphEdgeV1>,
}Fields§
§schema: String§vault_id: String§revision: u64§nodes: Vec<GraphNodeV1>Sorted by id.
edges: Vec<GraphEdgeV1>Sorted by (from, to, type); both ends are nodes.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphV1
impl<'de> Deserialize<'de> for GraphV1
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 Eq for GraphV1
impl StructuralPartialEq for GraphV1
Auto Trait Implementations§
impl Freeze for GraphV1
impl RefUnwindSafe for GraphV1
impl Send for GraphV1
impl Sync for GraphV1
impl Unpin for GraphV1
impl UnsafeUnpin for GraphV1
impl UnwindSafe for GraphV1
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