Enum mentat_transaction::query::QueryResults
[−]
[src]
pub enum QueryResults { Scalar(Option<Binding>), Tuple(Option<Vec<Binding>>), Coll(Vec<Binding>), Rel(RelResult<Binding>), }
Variants
Scalar(Option<Binding>)
Tuple(Option<Vec<Binding>>)
Coll(Vec<Binding>)
Rel(RelResult<Binding>)
Methods
impl QueryResults
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn into_scalar(self) -> Result<Option<Binding>, ProjectorError>
[src]
pub fn into_coll(self) -> Result<Vec<Binding>, ProjectorError>
[src]
pub fn into_tuple(self) -> Result<Option<Vec<Binding>>, ProjectorError>
[src]
pub fn into_rel(self) -> Result<RelResult<Binding>, ProjectorError>
[src]
Trait Implementations
impl From<QueryOutput> for QueryResults
[src]
fn from(o: QueryOutput) -> QueryResults
[src]
Performs the conversion.
impl Debug for QueryResults
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl Clone for QueryResults
[src]
fn clone(&self) -> QueryResults
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for QueryResults
[src]
impl PartialEq<QueryResults> for QueryResults
[src]
fn eq(&self, __arg_0: &QueryResults) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &QueryResults) -> bool
[src]
This method tests for !=
.