Struct indradb::Vertex
[−]
[src]
pub struct Vertex {
pub id: Uuid,
pub t: Type,
}A vertex.
Vertices are how you would represent nouns in the datastore. An example might be a user, or a movie. All vertices have a unique ID and a type.
Fields
id: Uuid
The id of the vertex.
t: Type
The type of the vertex.
Methods
impl Vertex[src]
Trait Implementations
impl Clone for Vertex[src]
fn clone(&self) -> Vertex[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Vertex[src]
impl PartialEq for Vertex[src]
fn eq(&self, other: &Vertex) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.