Struct indradb::PipeEdgeQuery[][src]

pub struct PipeEdgeQuery {
    pub inner: Box<VertexQuery>,
    pub direction: EdgeDirection,
    pub limit: u32,
    pub t: Option<Type>,
    pub high: Option<DateTime<Utc>>,
    pub low: Option<DateTime<Utc>>,
}

Gets the edges associated with vertices.

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

Fields

inner: Box<VertexQuery>

The vertex query to build off of.

direction: EdgeDirection

Whether to get outbound or inbound edges on the vertices.

limit: u32

Limits the number of edges to get.

t: Option<Type>

Filters the type of edges returned.

high: Option<DateTime<Utc>>

Specifies the newest update datetime for returned edges.

low: Option<DateTime<Utc>>

Specifies the oldest update datetime for returned edges.

Implementations

impl PipeEdgeQuery[src]

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

Creates a new pipe edge query.

Arguments

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

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 edges returned.

Arguments

  • t: Sets the type filter.

pub fn high(self, high: DateTime<Utc>) -> Self[src]

Filter the update datetime of the edges returned.

Arguments

  • high: The newest update datetime for the edges returned.

pub fn low(self, low: DateTime<Utc>) -> Self[src]

Filter the update datetime of the edges returned.

Arguments

  • low: The oldest update datetime for the edges returned.

Trait Implementations

impl Clone for PipeEdgeQuery[src]

impl Debug for PipeEdgeQuery[src]

impl EdgeQueryExt for PipeEdgeQuery[src]

impl Eq for PipeEdgeQuery[src]

impl From<PipeEdgeQuery> for EdgeQuery[src]

impl PartialEq<PipeEdgeQuery> for PipeEdgeQuery[src]

impl StructuralEq for PipeEdgeQuery[src]

impl StructuralPartialEq for PipeEdgeQuery[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>,