pub struct AnonymousBinding<'a, T>(pub Iri<&'a str>, pub &'a T);Expand description
Binding of a value to a predicate, serialized on an anonymous subject.
Tuple Fields§
§0: Iri<&'a str>§1: &'a TImplementations§
Trait Implementations§
Source§impl<'a, I: Interpretation, T: LinkedDataPredicateObjects<I>> LinkedData<I> for AnonymousBinding<'a, T>
impl<'a, I: Interpretation, T: LinkedDataPredicateObjects<I>> LinkedData<I> for AnonymousBinding<'a, T>
Source§impl<'a, I: Interpretation, T: LinkedDataPredicateObjects<I>> LinkedDataGraph<I> for AnonymousBinding<'a, T>
impl<'a, I: Interpretation, T: LinkedDataPredicateObjects<I>> LinkedDataGraph<I> for AnonymousBinding<'a, T>
Source§fn visit_graph<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where
S: GraphVisitor<I>,
fn visit_graph<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where
S: GraphVisitor<I>,
Visits the subjects of the graph represented by this value.
Source§impl<'a, I: Interpretation, T: LinkedDataPredicateObjects<I>> LinkedDataPredicateObjects<I> for AnonymousBinding<'a, T>
impl<'a, I: Interpretation, T: LinkedDataPredicateObjects<I>> LinkedDataPredicateObjects<I> for AnonymousBinding<'a, T>
Source§fn visit_objects<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where
S: PredicateObjectsVisitor<I>,
fn visit_objects<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where
S: PredicateObjectsVisitor<I>,
Visits the objects this predicate points at.
Source§impl<'a, I: Interpretation, T> LinkedDataResource<I> for AnonymousBinding<'a, T>
impl<'a, I: Interpretation, T> LinkedDataResource<I> for AnonymousBinding<'a, T>
Source§fn interpretation(
&self,
_interpretation: &mut I,
) -> ResourceInterpretation<'_, I>
fn interpretation( &self, _interpretation: &mut I, ) -> ResourceInterpretation<'_, I>
Returns the interpretation of this resource, inserting it into
interpretation if required.Source§fn lexical_representation<'a>(
&'a self,
interpretation: &'a mut I,
) -> Option<CowRdfTerm<'a>>where
I: ReverseInterpretation + ReverseLocalInterpretation,
fn lexical_representation<'a>(
&'a self,
interpretation: &'a mut I,
) -> Option<CowRdfTerm<'a>>where
I: ReverseInterpretation + ReverseLocalInterpretation,
Returns the lexical term representing this resource, if any.
Source§fn reference_interpretation(
&self,
interpretation: &mut I,
) -> ResourceInterpretation<'_, I>
fn reference_interpretation( &self, interpretation: &mut I, ) -> ResourceInterpretation<'_, I>
Returns the interpretation to use when this resource appears as a
reference rather than as a subject with properties.
Source§impl<'a, I: Interpretation, T: LinkedDataPredicateObjects<I>> LinkedDataSubject<I> for AnonymousBinding<'a, T>
impl<'a, I: Interpretation, T: LinkedDataPredicateObjects<I>> LinkedDataSubject<I> for AnonymousBinding<'a, T>
Source§fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where
S: SubjectVisitor<I>,
fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where
S: SubjectVisitor<I>,
Visits the properties of the subject represented by this value.
Auto Trait Implementations§
impl<'a, T> Freeze for AnonymousBinding<'a, T>
impl<'a, T> RefUnwindSafe for AnonymousBinding<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for AnonymousBinding<'a, T>where
T: Sync,
impl<'a, T> Sync for AnonymousBinding<'a, T>where
T: Sync,
impl<'a, T> Unpin for AnonymousBinding<'a, T>
impl<'a, T> UnsafeUnpin for AnonymousBinding<'a, T>
impl<'a, T> UnwindSafe for AnonymousBinding<'a, T>where
T: RefUnwindSafe,
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Views this value as an
Unordered reference.