Struct json_ld::Indexed [−][src]
pub struct Indexed<T> { /* fields omitted */ }
Expand description
Indexed objects.
Nodes and value objects may be indexed by a string in JSON-LD. This type is a wrapper around any kind of indexable data.
It is a pointer type that Deref
into the underlying value.
Implementations
Drop the index and return the underlying value.
Turn this indexed value into its components: inner value and index.
Trait Implementations
fn compact_with<'a, C: ContextMut<T>, L: Loader>(
&'a self,
active_context: Inversible<T, &'a C>,
type_scoped_context: Inversible<T, &'a C>,
active_property: Option<&'a str>,
loader: &'a mut L,
options: Options
) -> BoxFuture<'a, Result<JsonValue, Error>> where
T: 'a,
C: Sync + Send,
C::LocalContext: Send + Sync + From<L::Output>,
L: Sync + Send,
Auto Trait Implementations
impl<T> RefUnwindSafe for Indexed<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Indexed<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more