|
|
@ -778,7 +778,7 @@ impl<'a> From<TermRef<'a>> for Term { |
|
|
|
/// );
|
|
|
|
/// );
|
|
|
|
/// # Result::<_,oxrdf::IriParseError>::Ok(())
|
|
|
|
/// # Result::<_,oxrdf::IriParseError>::Ok(())
|
|
|
|
/// ```
|
|
|
|
/// ```
|
|
|
|
#[derive(Eq, PartialEq, Debug, Clone, Hash)] |
|
|
|
#[derive(Eq, PartialEq, Debug, Clone, Hash, Serialize, Deserialize)] |
|
|
|
pub struct Triple { |
|
|
|
pub struct Triple { |
|
|
|
/// The [subject](https://www.w3.org/TR/rdf11-concepts/#dfn-subject) of this triple.
|
|
|
|
/// The [subject](https://www.w3.org/TR/rdf11-concepts/#dfn-subject) of this triple.
|
|
|
|
pub subject: Subject, |
|
|
|
pub subject: Subject, |
|
|
@ -1147,7 +1147,7 @@ impl<'a> From<GraphNameRef<'a>> for GraphName { |
|
|
|
/// );
|
|
|
|
/// );
|
|
|
|
/// # Result::<_,oxrdf::IriParseError>::Ok(())
|
|
|
|
/// # Result::<_,oxrdf::IriParseError>::Ok(())
|
|
|
|
/// ```
|
|
|
|
/// ```
|
|
|
|
#[derive(Eq, PartialEq, Debug, Clone, Hash)] |
|
|
|
#[derive(Eq, PartialEq, Debug, Clone, Hash, Serialize, Deserialize)] |
|
|
|
pub struct Quad { |
|
|
|
pub struct Quad { |
|
|
|
/// The [subject](https://www.w3.org/TR/rdf11-concepts/#dfn-subject) of this triple.
|
|
|
|
/// The [subject](https://www.w3.org/TR/rdf11-concepts/#dfn-subject) of this triple.
|
|
|
|
pub subject: Subject, |
|
|
|
pub subject: Subject, |
|
|
|