pub struct N3Quad {
pub subject: N3Term,
pub predicate: N3Term,
pub object: N3Term,
pub graph_name: GraphName,
}
Expand description
A N3 quad i.e. a quad composed of N3Term
.
The graph_name
is used to encode the formula where the triple is in.
In this case the formula is encoded by a blank node.
Fields§
§subject: N3Term
The subject of this triple.
predicate: N3Term
The predicate of this triple.
object: N3Term
The object of this triple.
graph_name: GraphName
The name of the RDF graph in which the triple is.
Trait Implementations§
impl Eq for N3Quad
impl StructuralPartialEq for N3Quad
Auto Trait Implementations§
impl Freeze for N3Quad
impl RefUnwindSafe for N3Quad
impl Send for N3Quad
impl Sync for N3Quad
impl Unpin for N3Quad
impl UnwindSafe for N3Quad
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