Trait LinkedDataSubject

Source
pub trait LinkedDataSubject<I: Interpretation = (), V: Vocabulary = ()> {
    // Required method
    fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
       where S: SubjectVisitor<I, V>;
}
Expand description

Serialize a Linked-Data node.

Required Methods§

Source

fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<I: Interpretation, V: Vocabulary> LinkedDataSubject<I, V> for ()

Source§

fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary> LinkedDataSubject<I, V> for Iri

Source§

fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary> LinkedDataSubject<I, V> for IriBuf

Source§

fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary> LinkedDataSubject<I, V> for BlankId

Source§

fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary> LinkedDataSubject<I, V> for BlankIdBuf

Source§

fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary, D> LinkedDataSubject<I, V> for DatasetGraphView<'_, D>

Source§

fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary, T, B> LinkedDataSubject<I, V> for Id<T, B>
where T: LinkedDataSubject<I, V>, B: LinkedDataSubject<I, V>,

Source§

fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary, T: ?Sized + LinkedDataSubject<I, V>> LinkedDataSubject<I, V> for &T

Source§

fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<I: Interpretation, V: Vocabulary, T: ?Sized + LinkedDataSubject<I, V>> LinkedDataSubject<I, V> for Box<T>

Source§

fn visit_subject<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<V: Vocabulary + IriVocabularyMut + LiteralVocabularyMut, I: Interpretation> LinkedDataSubject<I, V> for i8

Source§

fn visit_subject<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<V: Vocabulary + IriVocabularyMut + LiteralVocabularyMut, I: Interpretation> LinkedDataSubject<I, V> for i16

Source§

fn visit_subject<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<V: Vocabulary + IriVocabularyMut + LiteralVocabularyMut, I: Interpretation> LinkedDataSubject<I, V> for i32

Source§

fn visit_subject<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<V: Vocabulary + IriVocabularyMut + LiteralVocabularyMut, I: Interpretation> LinkedDataSubject<I, V> for i64

Source§

fn visit_subject<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<V: Vocabulary + IriVocabularyMut + LiteralVocabularyMut, I: Interpretation> LinkedDataSubject<I, V> for str

Source§

fn visit_subject<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<V: Vocabulary + IriVocabularyMut + LiteralVocabularyMut, I: Interpretation> LinkedDataSubject<I, V> for u8

Source§

fn visit_subject<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<V: Vocabulary + IriVocabularyMut + LiteralVocabularyMut, I: Interpretation> LinkedDataSubject<I, V> for u16

Source§

fn visit_subject<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<V: Vocabulary + IriVocabularyMut + LiteralVocabularyMut, I: Interpretation> LinkedDataSubject<I, V> for u32

Source§

fn visit_subject<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<V: Vocabulary + IriVocabularyMut + LiteralVocabularyMut, I: Interpretation> LinkedDataSubject<I, V> for u64

Source§

fn visit_subject<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<V: Vocabulary + IriVocabularyMut + LiteralVocabularyMut, I: Interpretation> LinkedDataSubject<I, V> for String

Source§

fn visit_subject<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<V: Vocabulary + IriVocabularyMut + LiteralVocabularyMut, I: Interpretation> LinkedDataSubject<I, V> for DateTime

Source§

fn visit_subject<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Source§

impl<V: Vocabulary + IriVocabularyMut + LiteralVocabularyMut, I: Interpretation> LinkedDataSubject<I, V> for AnyUriBuf

Source§

fn visit_subject<S>(&self, visitor: S) -> Result<S::Ok, S::Error>
where S: SubjectVisitor<I, V>,

Implementors§