pub struct Quad {
pub subject: Term,
pub predicate: String,
pub object: Term,
pub graph: Option<Term>,
}Expand description
One RDF statement, in the default graph or a named one.
Fields§
§subject: Term§predicate: String§object: Term§graph: Option<Term>None for the default graph.
Trait Implementations§
impl Eq for Quad
Source§impl Ord for Quad
impl Ord for Quad
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Quad
impl PartialOrd for Quad
impl StructuralPartialEq for Quad
Auto Trait Implementations§
impl Freeze for Quad
impl RefUnwindSafe for Quad
impl Send for Quad
impl Sync for Quad
impl Unpin for Quad
impl UnsafeUnpin for Quad
impl UnwindSafe for Quad
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