[][src]Struct indradb::RangeVertexQuery

pub struct RangeVertexQuery {
    pub limit: u32,
    pub t: Option<Type>,
    pub start_id: Option<Uuid>,
}

Gets a range of vertices.

Fields

limit: u32

Limits the number of vertices to get.

t: Option<Type>

Filters the type of vertices returned.

start_id: Option<Uuid>

Sets the lowest vertex ID to return.

Methods

impl RangeVertexQuery[src]

pub fn new(limit: u32) -> Self[src]

Creates a new vertex range query.

Arguments

  • limit - Limits the number of returned results.

pub fn t(self, t: Type) -> Self[src]

Filter the type of vertices returned.

Arguments

  • t - Sets the type filter.

pub fn start_id(self, start_id: Uuid) -> Self[src]

Sets the lowest vertex ID to return.

Arguments

  • start_id - The lowest vertex ID to return.

Trait Implementations

impl VertexQueryExt for RangeVertexQuery[src]

fn outbound(self, limit: u32) -> PipeEdgeQuery[src]

Gets the outbound edges associated with the vertices. Read more

fn inbound(self, limit: u32) -> PipeEdgeQuery[src]

Gets the inbound edges associated with the vertices. Read more

fn property<S: Into<String>>(self, name: S) -> VertexPropertyQuery[src]

Gets a property associated with the vertices. Read more

impl Clone for RangeVertexQuery[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<RangeVertexQuery> for RangeVertexQuery[src]

impl From<RangeVertexQuery> for VertexQuery[src]

impl Debug for RangeVertexQuery[src]

Auto Trait Implementations

Blanket Implementations

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> From<T> for T[src]

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]