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 Forget for GraphV1
impl Freeze for GraphV1where
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<GraphNodeV1>: Freeze,
PhantomData<GraphEdgeV1>: Freeze,
impl Move for GraphV1
impl RefUnwindSafe for GraphV1
impl Send for GraphV1where
RawVecInner: Send,
impl Sync for GraphV1where
RawVecInner: Sync,
impl Unpin for GraphV1
impl UnsafeUnpin for GraphV1where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<GraphNodeV1>: UnsafeUnpin,
PhantomData<GraphEdgeV1>: UnsafeUnpin,
impl UnwindSafe for GraphV1where
RawVecInner: UnwindSafe,
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