pub struct Vertex {
pub guid: String,
pub name: String,
pub attribute: String,
pub index: i32,
}
Expand description
A graph vertex with a unique identifier and attribute string.
Fields§
§guid: String
The unique identifier of the vertex.
name: String
The name of the vertex.
attribute: String
Vertex attribute data as string.
index: i32
Integer index for the vertex. Set internally by Graph.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Vertex
impl<'de> Deserialize<'de> for Vertex
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 Vertex
impl RefUnwindSafe for Vertex
impl Send for Vertex
impl Sync for Vertex
impl Unpin for Vertex
impl UnwindSafe for Vertex
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