Struct mentat_transaction::query::RelResult [] [src]

pub struct RelResult<T> {
    pub width: usize,
    pub values: Vec<T>,
}

The result you get from a 'rel' query, like:

[:find ?person ?name
 :where [?person :person/name ?name]]

There are three ways to get data out of a RelResult:

Fields

Methods

impl<T> RelResult<T>
[src]

[src]

[src]

[src]

Important traits for Chunks<'a, T>
[src]

[src]

Trait Implementations

impl From<Vec<Vec<TypedValue>>> for RelResult<Binding>
[src]

[src]

Performs the conversion.

impl<T> Debug for RelResult<T> where
    T: Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<T> Clone for RelResult<T> where
    T: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T> IntoIterator for RelResult<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl<T> Eq for RelResult<T> where
    T: Eq
[src]

impl<T> PartialEq<RelResult<T>> for RelResult<T> where
    T: PartialEq<T>, 
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.