pub trait LinkedDataDeserializePredicateObjects<I: Interpretation>: Sized{
// Required method
fn deserialize_objects_in<'a, D>(
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<Subject = I::Resource>;
// Provided method
fn deserialize_objects<'a, D>(
interpretation: &I,
dataset: &D,
graph: Option<&I::Resource>,
objects: impl IntoIterator<Item = &'a I::Resource>,
) -> Result<Self, FromLinkedDataError>
where I::Resource: 'a,
D: PatternMatchingDataset<Subject = I::Resource> { ... }
}Expand description
Type that can be deserialized from the objects of a predicate.
Required Methods§
Sourcefn deserialize_objects_in<'a, D>(
interpretation: &I,
dataset: &D,
graph: Option<&I::Resource>,
objects: impl IntoIterator<Item = &'a I::Resource>,
context: Context<'_, I>,
) -> Result<Self, FromLinkedDataError>
fn deserialize_objects_in<'a, D>( interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a I::Resource>, context: Context<'_, I>, ) -> Result<Self, FromLinkedDataError>
Deserializes a value from objects, reporting errors against
context.
Provided Methods§
Sourcefn deserialize_objects<'a, D>(
interpretation: &I,
dataset: &D,
graph: Option<&I::Resource>,
objects: impl IntoIterator<Item = &'a I::Resource>,
) -> Result<Self, FromLinkedDataError>
fn deserialize_objects<'a, D>( interpretation: &I, dataset: &D, graph: Option<&I::Resource>, objects: impl IntoIterator<Item = &'a I::Resource>, ) -> Result<Self, FromLinkedDataError>
Deserializes a value from objects.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".