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

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

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.
  • limit - Limits the number of vertices to get.

Filter the type of vertices returned.

Arguments
  • t - Sets the type filter.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Gets the outbound edges associated with the vertices. Read more
Gets the inbound edges associated with the vertices. Read more
Gets a property associated with the vertices. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.