Trait LinkedDataDeserialize

Source
pub trait LinkedDataDeserialize<V: Vocabulary = (), I: Interpretation = ()>: Sized {
    // Required method
    fn deserialize_dataset_in(
        vocabulary: &V,
        interpretation: &I,
        dataset: &(impl TraversableDataset<Resource = I::Resource> + PatternMatchingDataset),
        context: Context<'_, I>,
    ) -> Result<Self, FromLinkedDataError>;

    // Provided method
    fn deserialize_dataset(
        vocabulary: &V,
        interpretation: &I,
        dataset: &(impl TraversableDataset<Resource = I::Resource> + PatternMatchingDataset),
    ) -> Result<Self, FromLinkedDataError> { ... }
}

Required Methods§

Source

fn deserialize_dataset_in( vocabulary: &V, interpretation: &I, dataset: &(impl TraversableDataset<Resource = I::Resource> + PatternMatchingDataset), context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>

Provided Methods§

Source

fn deserialize_dataset( vocabulary: &V, interpretation: &I, dataset: &(impl TraversableDataset<Resource = I::Resource> + PatternMatchingDataset), ) -> Result<Self, FromLinkedDataError>

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.

Implementors§