pub struct PipeVertexQuery {
    pub inner: Box<EdgeQuery>,
    pub direction: EdgeDirection,
    pub limit: u32,
    pub t: Option<Identifier>,
}
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<Identifier>

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.

Sets the limit.

Arguments
  • limit: Limits the number of returned results.

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 this type into the (usually inferred) input type.
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Gets the outbound edges associated with the vertices.
Gets the inbound edges associated with the vertices.
Gets a property associated with the vertices. Read more
Gets vertices with a property. Read more
Gets vertices without a property. Read more
Gets vertices with a property equal to a given value. Read more
Gets vertices with a property not equal to a given value. 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.