pub trait DerefIri {
// Required method
fn deref_iri(
self,
base: Option<&IriS>,
prefixmap: Option<&PrefixMap>,
) -> Result<Self, DerefError>
where Self: Sized;
}Expand description
A trait for dereferencing IRIs with an optional base IRI and a PrefixMap
Required Methods§
Sourcefn deref_iri(
self,
base: Option<&IriS>,
prefixmap: Option<&PrefixMap>,
) -> Result<Self, DerefError>where
Self: Sized,
fn deref_iri(
self,
base: Option<&IriS>,
prefixmap: Option<&PrefixMap>,
) -> Result<Self, DerefError>where
Self: Sized,
Dereferences the IRI using the provided base IRI and PrefixMap
Returns a new instance with the dereferenced IRI or a DerefError if dereferencing fails
§Fields:
base: An optional base IRIprefixmap: An optionalPrefixMap