Enum mentat_query_projector::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]
impl QueryResults
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
pub fn into_scalar(self) -> Result<Option<Binding>>
[src]
pub fn into_scalar(self) -> Result<Option<Binding>>
pub fn into_coll(self) -> Result<Vec<Binding>>
[src]
pub fn into_coll(self) -> Result<Vec<Binding>>
pub fn into_tuple(self) -> Result<Option<Vec<Binding>>>
[src]
pub fn into_tuple(self) -> Result<Option<Vec<Binding>>>
pub fn into_rel(self) -> Result<RelResult<Binding>>
[src]
pub fn into_rel(self) -> Result<RelResult<Binding>>
Trait Implementations
impl Clone for QueryResults
[src]
impl Clone for QueryResults
fn clone(&self) -> QueryResults
[src]
fn clone(&self) -> QueryResults
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for QueryResults
[src]
impl Debug for QueryResults
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for QueryResults
[src]
impl PartialEq for QueryResults
fn eq(&self, __arg_0: &QueryResults) -> bool
[src]
fn eq(&self, __arg_0: &QueryResults) -> bool
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]
fn ne(&self, __arg_0: &QueryResults) -> bool
This method tests for !=
.
impl Eq for QueryResults
[src]
impl Eq for QueryResults
impl From<QueryOutput> for QueryResults
[src]
impl From<QueryOutput> for QueryResults
fn from(o: QueryOutput) -> QueryResults
[src]
fn from(o: QueryOutput) -> QueryResults
Performs the conversion.
Auto Trait Implementations
impl Send for QueryResults
impl Send for QueryResults
impl Sync for QueryResults
impl Sync for QueryResults