pub enum ActiveGraph {
DefaultGraph,
AllGraphs,
Union(Vec<GraphName>),
AnyNamedGraph,
}
Expand description
The active graph defines which graphs can partake in the pattern matching process.
Variants§
DefaultGraph
Only the default graph forms the active graph.
AllGraphs
Any graph, including the default graph, form the active graph.
Union(Vec<GraphName>)
A set of graphs form the active graph. This allows expressing the user-intent of
queries that use the FROM
and FROM NAMED
clause.
AnyNamedGraph
Any named graph is part of the active graph. This corresponds to GRAPH ?x { ... }
patterns
with no explicitly defined set of named graphs in the RDF data set.
Trait Implementations§
Source§impl Clone for ActiveGraph
impl Clone for ActiveGraph
Source§fn clone(&self) -> ActiveGraph
fn clone(&self) -> ActiveGraph
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ActiveGraph
impl Debug for ActiveGraph
Source§impl Default for ActiveGraph
impl Default for ActiveGraph
Source§fn default() -> ActiveGraph
fn default() -> ActiveGraph
Returns the “default value” for a type. Read more
Source§impl Display for ActiveGraph
impl Display for ActiveGraph
Source§impl Hash for ActiveGraph
impl Hash for ActiveGraph
Source§impl PartialEq for ActiveGraph
impl PartialEq for ActiveGraph
impl Eq for ActiveGraph
impl StructuralPartialEq for ActiveGraph
Auto Trait Implementations§
impl Freeze for ActiveGraph
impl RefUnwindSafe for ActiveGraph
impl Send for ActiveGraph
impl Sync for ActiveGraph
impl Unpin for ActiveGraph
impl UnwindSafe for ActiveGraph
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§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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more