pub struct Query {
pub base: Url,
pub prefixes: Vec<Spanned<TurtlePrefix>>,
pub base_statement: Option<Spanned<Base>>,
pub kwds: QueryClause,
pub datasets: Vec<Spanned<DatasetClause>>,
pub where_clause: Spanned<WhereClause>,
pub modifier: Vec<Spanned<Modifier>>,
}Fields§
§base: Url§prefixes: Vec<Spanned<TurtlePrefix>>§base_statement: Option<Spanned<Base>>§kwds: QueryClause§datasets: Vec<Spanned<DatasetClause>>§where_clause: Spanned<WhereClause>§modifier: Vec<Spanned<Modifier>>Implementations§
Source§impl Query
impl Query
pub fn add_to_context(&self, ctx: &mut Context)
pub fn ingest_triples<'a>( &'a self, builder: &mut TriplesBuilder<'a, Query>, ) -> Result<(), TurtleSimpleError>
pub fn set_base(&mut self, base: Url)
pub fn get_base(&self) -> &Url
Trait Implementations§
impl Eq for Query
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
Source§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates Self using default().
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.