#[non_exhaustive]pub enum QueryOutput {
Select(Vec<String>, Vec<BTreeMap<String, String>>),
Ask(bool),
Construct(Vec<(String, String, String)>),
}Expand description
The result of evaluating any SPARQL query form.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Select(Vec<String>, Vec<BTreeMap<String, String>>)
SELECT: projected variables and their solution rows.
Ask(bool)
ASK: whether the pattern has any solution.
Construct(Vec<(String, String, String)>)
CONSTRUCT: the constructed triples as (s, p, o) term tokens.
Trait Implementations§
Source§impl Clone for QueryOutput
impl Clone for QueryOutput
Source§fn clone(&self) -> QueryOutput
fn clone(&self) -> QueryOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QueryOutput
impl RefUnwindSafe for QueryOutput
impl Send for QueryOutput
impl Sync for QueryOutput
impl Unpin for QueryOutput
impl UnsafeUnpin for QueryOutput
impl UnwindSafe for QueryOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more