[−][src]Enum json_ld::syntax::Keyword
JSON-LD keywords.
Variants
@base
.
Used to set the base IRI against which to resolve those relative IRI references
which are otherwise interpreted relative to the document.
@container
.
Used to set the default container type for a term.
@context
.
Used to define the short-hand names that are used throughout a JSON-LD document.
@direction
.
Used to set the base direction of a JSON-LD value, which are not typed values.
(e.g. strings, or language-tagged strings).
@graph
.
Used to express a graph.
@id
.
Used to uniquely identify node objects that are being described in the document with IRIs
or blank node identifiers.
@import
.
Used in a context definition to load an external context within which the containing
context definition is merged.
@included
.
Used in a top-level node object to define an included block, for including secondary node
objects within another node object.
@index
.
Used to specify that a container is used to index information and that processing should
continue deeper into a JSON data structure.
@json
.
Used as the @type value of a JSON literal.
@language
.
Used to specify the language for a particular string value or the default language of a
JSON-LD document.
@list
.
Used to express an ordered set of data.
@nest
.
Used to define a property of a node object that groups together properties of that node,
but is not an edge in the graph.
@none
.
Used as an index value in an index map, id map, language map, type map, or elsewhere where
a map is used to index into other values, when the indexed node does not have the feature
being indexed.
@prefix
.
With the value true, allows this term to be used to construct a compact IRI when
compacting.
@propagate
.
Used in a context definition to change the scope of that context.
By default, it is true, meaning that contexts propagate across node objects (other than for type-scoped contexts, which default to false). Setting this to false causes term definitions created within that context to be removed when entering a new node object.
@protected
.
Used to prevent term definitions of a context to be overridden by other contexts.
@reverse
.
Used to express reverse properties.
@set
.
Used to express an unordered set of data and to ensure that values are always represented
as arrays.
@type
.
Used to set the type of a node or the datatype of a typed value.
@value
.
Used to specify the data that is associated with a particular property in the graph.
@version
.
Used in a context definition to set the processing mode.
@vocab
.
Used to expand properties and values in @type with a common prefix IRI.
Methods
impl Keyword
[src]
Trait Implementations
impl AsJson for Keyword
[src]
impl Clone for Keyword
[src]
impl Copy for Keyword
[src]
impl Debug for Keyword
[src]
impl Display for Keyword
[src]
impl Eq for Keyword
[src]
impl From<Keyword> for &'static str
[src]
impl Hash for Keyword
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Keyword
[src]
fn cmp(&self, other: &Keyword) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Keyword> for Keyword
[src]
impl PartialOrd<Keyword> for Keyword
[src]
fn partial_cmp(&self, other: &Keyword) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Keyword
[src]
impl StructuralPartialEq for Keyword
[src]
impl<'a> TryFrom<&'a str> for Keyword
[src]
Auto Trait Implementations
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnwindSafe for Keyword
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToOwned for T
[src]
type Owned = T
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,