pub struct ExpressionTriple {
pub subject: ExpressionSubject,
pub predicate: NamedNode,
pub object: ExpressionTerm,
}
Fields§
§subject: ExpressionSubject
§predicate: NamedNode
§object: ExpressionTerm
Implementations§
Source§impl ExpressionTriple
impl ExpressionTriple
pub fn new( subject: ExpressionTerm, predicate: ExpressionTerm, object: ExpressionTerm, ) -> Option<Self>
Trait Implementations§
Source§impl Clone for ExpressionTriple
impl Clone for ExpressionTriple
Source§fn clone(&self) -> ExpressionTriple
fn clone(&self) -> ExpressionTriple
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<ExpressionTriple> for ExpressionTerm
impl From<ExpressionTriple> for ExpressionTerm
Source§fn from(triple: ExpressionTriple) -> Self
fn from(triple: ExpressionTriple) -> Self
Converts to this type from the input type.
Source§impl From<ExpressionTriple> for Triple
impl From<ExpressionTriple> for Triple
Source§fn from(triple: ExpressionTriple) -> Self
fn from(triple: ExpressionTriple) -> Self
Converts to this type from the input type.
Source§impl From<Triple> for ExpressionTriple
impl From<Triple> for ExpressionTriple
Source§impl Hash for ExpressionTriple
impl Hash for ExpressionTriple
Source§impl PartialEq for ExpressionTriple
impl PartialEq for ExpressionTriple
impl Eq for ExpressionTriple
impl StructuralPartialEq for ExpressionTriple
Auto Trait Implementations§
impl Freeze for ExpressionTriple
impl RefUnwindSafe for ExpressionTriple
impl Send for ExpressionTriple
impl Sync for ExpressionTriple
impl Unpin for ExpressionTriple
impl UnwindSafe for ExpressionTriple
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