Struct indradb::PipeVertexQuery[][src]

pub struct PipeVertexQuery {
    pub inner: Box<EdgeQuery>,
    pub direction: EdgeDirection,
    pub limit: u32,
    pub t: Option<Type>,
}

Gets the vertices associated with edges.

Generally, you shouldn't need to construct this directly, but rather call .outbound() or .inbound() on an edge query.

Fields

inner: Box<EdgeQuery>

The edge query to build off of.

direction: EdgeDirection

Whether to get outbound or inbound vertices on the edges.

limit: u32

Limits the number of vertices to get.

t: Option<Type>

Filters the type of vertices returned.

Implementations

impl PipeVertexQuery[src]

pub fn new(inner: Box<EdgeQuery>, direction: EdgeDirection) -> Self[src]

Creates a new pipe vertex query.

Arguments

  • inner: The edge query to build off of.
  • direction: Whether to get outbound or inbound vertices on the edges.

pub fn limit(self, limit: u32) -> Self[src]

Sets the limit.

Arguments

  • limit: Limits the number of returned results.

pub fn t(self, t: Type) -> Self[src]

Filter the type of vertices returned.

Arguments

  • t: Sets the type filter.

Trait Implementations

impl Clone for PipeVertexQuery[src]

impl Debug for PipeVertexQuery[src]

impl Eq for PipeVertexQuery[src]

impl From<PipeVertexQuery> for VertexQuery[src]

impl PartialEq<PipeVertexQuery> for PipeVertexQuery[src]

impl StructuralEq for PipeVertexQuery[src]

impl StructuralPartialEq for PipeVertexQuery[src]

impl VertexQueryExt for PipeVertexQuery[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,