Skip to main content

LinkedDataDeserializePredicateObjects

Trait LinkedDataDeserializePredicateObjects 

Source
pub trait LinkedDataDeserializePredicateObjects<I: Interpretation = (), V: Vocabulary = ()>: Sized {
    // Required method
    fn deserialize_objects_in<'a, D>(
        vocabulary: &V,
        interpretation: &I,
        dataset: &D,
        graph: Option<&I::Resource>,
        objects: impl IntoIterator<Item = &'a I::Resource>,
        context: Context<'_, I>,
    ) -> Result<Self, FromLinkedDataError>
       where I::Resource: 'a,
             D: PatternMatchingDataset<Resource = I::Resource>;

    // Provided method
    fn deserialize_objects<'a, D>(
        vocabulary: &V,
        interpretation: &I,
        dataset: &D,
        graph: Option<&I::Resource>,
        objects: impl IntoIterator<Item = &'a I::Resource>,
    ) -> Result<Self, FromLinkedDataError>
       where I::Resource: 'a,
             D: PatternMatchingDataset<Resource = I::Resource> { ... }
}

Required Methods§

Source

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a I::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where I::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Provided Methods§

Source

fn deserialize_objects<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a I::Resource>, ) -> Result<Self, FromLinkedDataError>
where I::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<I, V: Vocabulary, T: LinkedDataDeserializeSubject<I, V>> LinkedDataDeserializePredicateObjects<I, V> for Option<T>

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a I::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where I::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<I, V: Vocabulary> LinkedDataDeserializePredicateObjects<I, V> for BlankIdBuf

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a I::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where I::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<I, V: Vocabulary> LinkedDataDeserializePredicateObjects<I, V> for Id
where I: ReverseIdInterpretation<Iri = V::Iri, BlankId = V::BlankId> + Interpretation,

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a I::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where I::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<I, V: Vocabulary> LinkedDataDeserializePredicateObjects<I, V> for IriBuf

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a I::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where I::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<I: Interpretation, V: Vocabulary, T: LinkedDataDeserializePredicateObjects<I, V>> LinkedDataDeserializePredicateObjects<I, V> for Box<T>

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a I::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where I::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<V, I> LinkedDataDeserializePredicateObjects<I, V> for DateTime

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a <I as Interpretation>::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where <I as Interpretation>::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<V, I> LinkedDataDeserializePredicateObjects<I, V> for String

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a <I as Interpretation>::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where <I as Interpretation>::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<V, I> LinkedDataDeserializePredicateObjects<I, V> for i8

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a <I as Interpretation>::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where <I as Interpretation>::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<V, I> LinkedDataDeserializePredicateObjects<I, V> for i16

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a <I as Interpretation>::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where <I as Interpretation>::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<V, I> LinkedDataDeserializePredicateObjects<I, V> for i32

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a <I as Interpretation>::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where <I as Interpretation>::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<V, I> LinkedDataDeserializePredicateObjects<I, V> for i64

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a <I as Interpretation>::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where <I as Interpretation>::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<V, I> LinkedDataDeserializePredicateObjects<I, V> for u8

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a <I as Interpretation>::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where <I as Interpretation>::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<V, I> LinkedDataDeserializePredicateObjects<I, V> for u16

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a <I as Interpretation>::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where <I as Interpretation>::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<V, I> LinkedDataDeserializePredicateObjects<I, V> for u32

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a <I as Interpretation>::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where <I as Interpretation>::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Source§

impl<V, I> LinkedDataDeserializePredicateObjects<I, V> for u64

Source§

fn deserialize_objects_in<'a, D>( vocabulary: &V, interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a <I as Interpretation>::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
where <I as Interpretation>::Resource: 'a, D: PatternMatchingDataset<Resource = I::Resource>,

Implementors§