pub type RemoteContext<I = IriBuf> = RemoteDocument<I, Context>;Aliased Type§
pub struct RemoteContext<I = IriBuf> {
pub url: Option<I>,
pub content_type: Option<Mime>,
pub context_url: Option<I>,
pub profile: HashSet<Profile<I>>,
pub document: Context,
}Fields§
§url: Option<I>The final URL of the loaded document, after eventual redirection.
content_type: Option<Mime>The HTTP Content-Type header value of the loaded document, exclusive
of any optional parameters.
context_url: Option<I>If available, the value of the HTTP Link Header RFC 8288 using the
http://www.w3.org/ns/json-ld#context link relation in the response.
If the response’s Content-Type is application/ld+json, the HTTP
Link Header is ignored. If multiple HTTP Link Headers using the
http://www.w3.org/ns/json-ld#context link relation are found, the
loader fails with a multiple context link headers error.
profile: HashSet<Profile<I>>§document: ContextThe retrieved document.