pub struct Statement<'a> {
pub subject: Node<'a>,
pub predicate: Node<'a>,
pub object: Node<'a>,
}Fields§
§subject: Node<'a>§predicate: Node<'a>§object: Node<'a>Implementations§
Source§impl<'a> Statement<'a>
impl<'a> Statement<'a>
pub fn from_rdf_json_triples( triples: &'a [RdfJsonTriple], ) -> Result<Vec<Statement<'a>>, TurtleDocError>
Trait Implementations§
Source§impl From<&Statement<'_>> for RdfJsonTriple
impl From<&Statement<'_>> for RdfJsonTriple
Source§impl<'a> PartialOrd for Statement<'a>
impl<'a> PartialOrd for Statement<'a>
Source§impl<'a> TryFrom<&'a RdfJsonTriple> for Statement<'a>
impl<'a> TryFrom<&'a RdfJsonTriple> for Statement<'a>
Source§type Error = TurtleDocError
type Error = TurtleDocError
The type returned in the event of a conversion error.
impl<'a> StructuralPartialEq for Statement<'a>
Auto Trait Implementations§
impl<'a> Freeze for Statement<'a>
impl<'a> RefUnwindSafe for Statement<'a>
impl<'a> Send for Statement<'a>
impl<'a> Sync for Statement<'a>
impl<'a> Unpin for Statement<'a>
impl<'a> UnwindSafe for Statement<'a>
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