@ -221,10 +226,18 @@ impl<'a> From<&'a Triple> for rio::Triple<'a> {
/// A [triple](https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-triple) in a [RDF dataset](https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-dataset)
#[derive(Eq, PartialEq, Debug, Clone, Hash)]
pubstructQuad{
subject: NamedOrBlankNode,
predicate: NamedNode,
object: Term,
graph_name: Option<NamedOrBlankNode>,
/// The [subject](https://www.w3.org/TR/rdf11-concepts/#dfn-subject) of this triple
pubsubject: NamedOrBlankNode,
/// The [predicate](https://www.w3.org/TR/rdf11-concepts/#dfn-predicate) of this triple
pubpredicate: NamedNode,
/// The [object](https://www.w3.org/TR/rdf11-concepts/#dfn-object) of this triple
pubobject: Term,
/// The name of the RDF [graph](https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-graph) in which the triple is
/// or None if it is in the [default graph](https://www.w3.org/TR/rdf11-concepts/#dfn-default-graph)
pubgraph_name: Option<NamedOrBlankNode>,
}
implQuad{
@ -243,52 +256,52 @@ impl Quad {
}
}
/// The [subject](https://www.w3.org/TR/rdf11-concepts/#dfn-subject) of this triple
#[deprecated(note = "Use directly the `subject` field")]
pubconstfnsubject(&self)-> &NamedOrBlankNode{
&self.subject
}
/// The [subject](https://www.w3.org/TR/rdf11-concepts/#dfn-subject) of this triple
#[deprecated(note = "Use directly the `subject` field")]
pubfnsubject_owned(self)-> NamedOrBlankNode{
self.subject
}
/// The [predicate](https://www.w3.org/TR/rdf11-concepts/#dfn-predicate) of this triple
#[deprecated(note = "Use directly the `predicate` field")]
pubconstfnpredicate(&self)-> &NamedNode{
&self.predicate
}
/// The [predicate](https://www.w3.org/TR/rdf11-concepts/#dfn-predicate) of this triple
#[deprecated(note = "Use directly the `predicate` field")]
pubfnpredicate_owned(self)-> NamedNode{
self.predicate
}
/// The [object](https://www.w3.org/TR/rdf11-concepts/#dfn-object) of this triple
#[deprecated(note = "Use directly the `object` field")]
pubconstfnobject(&self)-> &Term{
&self.object
}
/// The [object](https://www.w3.org/TR/rdf11-concepts/#dfn-object) of this triple
#[deprecated(note = "Use directly the `object` field")]
pubfnobject_owned(self)-> Term{
self.object
}
/// The name of the RDF [graph](https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-graph) in which the triple is or None if it is in the [default graph](https://www.w3.org/TR/rdf11-concepts/#dfn-default-graph)
#[deprecated(note = "Use directly the `graph_name` field")]
/// The name of the RDF [graph](https://www.w3.org/TR/rdf11-concepts/#dfn-rdf-graph) in which the triple is or None if it is in the [default graph](https://www.w3.org/TR/rdf11-concepts/#dfn-default-graph)
#[deprecated(note = "Use directly the `graph_name` field")]