[][src]Struct indradb::SpecificEdgeQuery

pub struct SpecificEdgeQuery {
    pub keys: Vec<EdgeKey>,
}

Gets a specific set of edges.

Fields

keys: Vec<EdgeKey>

The keys of the edges to get.

Methods

impl SpecificEdgeQuery[src]

pub fn new(keys: Vec<EdgeKey>) -> Self[src]

Creates a new edge query for getting a list of edges by their keys.

Arguments

  • keys - The keys of the edges to get.

pub fn single(key: EdgeKey) -> Self[src]

Creates a new edge query for getting a single edge.

Arguments

  • key - The key of the edge to get.

Trait Implementations

impl EdgeQueryExt for SpecificEdgeQuery[src]

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

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

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

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

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

Gets a property associated with the edges. Read more

impl Clone for SpecificEdgeQuery[src]

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

Performs copy-assignment from source. Read more

impl From<SpecificEdgeQuery> for EdgeQuery[src]

impl PartialEq<SpecificEdgeQuery> for SpecificEdgeQuery[src]

impl Debug for SpecificEdgeQuery[src]

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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