Enum indradb::EdgeDirection
source · pub enum EdgeDirection {
Outbound,
Inbound,
}Expand description
Specifies what kind of items should be piped from one type of query to another.
Edge and vertex queries can build off of one another via pipes - e.g. you
can get the outbound edges of a set of vertices by piping from a vertex
query to an edge query. EdgeDirections are used to specify which
end of things you want to pipe - either the outbound items or the inbound
items.
Variants§
Trait Implementations§
source§impl Clone for EdgeDirection
impl Clone for EdgeDirection
source§fn clone(&self) -> EdgeDirection
fn clone(&self) -> EdgeDirection
Returns a copy of the value. Read more
1.0.0 · 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 EdgeDirection
impl Debug for EdgeDirection
source§impl From<EdgeDirection> for String
impl From<EdgeDirection> for String
source§fn from(d: EdgeDirection) -> Self
fn from(d: EdgeDirection) -> Self
Converts to this type from the input type.
source§impl FromStr for EdgeDirection
impl FromStr for EdgeDirection
source§impl Hash for EdgeDirection
impl Hash for EdgeDirection
source§impl PartialEq<EdgeDirection> for EdgeDirection
impl PartialEq<EdgeDirection> for EdgeDirection
source§fn eq(&self, other: &EdgeDirection) -> bool
fn eq(&self, other: &EdgeDirection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.