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. EdgeDirection
s are used to specify which
end of things you want to pipe - either the outbound items or the inbound
items.
Variants
Outbound
Inbound
Trait Implementations
sourceimpl Clone for EdgeDirection
impl Clone for EdgeDirection
sourcefn clone(&self) -> EdgeDirection
fn clone(&self) -> EdgeDirection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EdgeDirection
impl Debug for EdgeDirection
sourceimpl From<EdgeDirection> for String
impl From<EdgeDirection> for String
sourcefn from(d: EdgeDirection) -> Self
fn from(d: EdgeDirection) -> Self
Converts to this type from the input type.
sourceimpl FromStr for EdgeDirection
impl FromStr for EdgeDirection
type Err = ValidationError
type Err = ValidationError
The associated error which can be returned from parsing.
sourceimpl Hash for EdgeDirection
impl Hash for EdgeDirection
sourceimpl PartialEq<EdgeDirection> for EdgeDirection
impl PartialEq<EdgeDirection> for EdgeDirection
sourcefn eq(&self, other: &EdgeDirection) -> bool
fn eq(&self, other: &EdgeDirection) -> bool
impl Copy for EdgeDirection
impl Eq for EdgeDirection
impl StructuralEq for EdgeDirection
impl StructuralPartialEq for EdgeDirection
Auto Trait Implementations
impl RefUnwindSafe for EdgeDirection
impl Send for EdgeDirection
impl Sync for EdgeDirection
impl Unpin for EdgeDirection
impl UnwindSafe for EdgeDirection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more