pub struct RangeVertexQuery {
    pub limit: u32,
    pub t: Option<Identifier>,
    pub start_id: Option<Uuid>,
}
Expand description

Gets a range of vertices.

Fields

limit: u32

Limits the number of vertices to get.

t: Option<Identifier>

Filters the type of vertices returned.

start_id: Option<Uuid>

Sets the lowest vertex ID to return.

Implementations

Creates a new vertex range query.

Sets the limit.

Arguments
  • limit: Limits the number of returned results.

Filter the type of vertices returned.

Arguments
  • t: Sets the type filter.

Sets the lowest vertex ID to return.

Arguments
  • start_id: The lowest vertex ID to return.

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

Returns the “default value” for a type. 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 !=.

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.