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

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<Identifier>

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

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.

Sets the limit.

Arguments
  • limit: Limits the number of returned results.

Filter the type of edges returned.

Arguments
  • t: Sets the type filter.

Filter the update datetime of the edges returned.

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

Filter the update datetime of the edges returned.

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

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

Gets the vertices associated with the outbound end of the edges.

Gets the vertices associated with the inbound end of the edges.

Gets a property associated with the edges. Read more

Gets edges with a property. Read more

Gets edges without a property. Read more

Gets edges with a property equal to a given value. Read more

Gets edges with a property not equal to a given value. 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 ==. Read more

This method tests for !=.

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.