pub enum TripleComponent {
Variable(String),
Iri(String),
Literal(Value),
}Expand description
A component of a triple pattern.
Variants§
Variable(String)
A variable to bind.
Iri(String)
A constant IRI.
Literal(Value)
A constant literal value.
Trait Implementations§
Source§impl Clone for TripleComponent
impl Clone for TripleComponent
Source§fn clone(&self) -> TripleComponent
fn clone(&self) -> TripleComponent
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 moreAuto Trait Implementations§
impl Freeze for TripleComponent
impl RefUnwindSafe for TripleComponent
impl Send for TripleComponent
impl Sync for TripleComponent
impl Unpin for TripleComponent
impl UnwindSafe for TripleComponent
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