pub enum Warning {
EmptyTerm,
BlankNodeIdProperty(BlankId),
KeywordLikeTerm(String),
KeywordLikeValue(String),
MalformedLanguageTag(String, Error),
MalformedIri(String),
}
Expand description
Warning that can occur during JSON-LD documents processing.
Variants
EmptyTerm
Some node has an empty term.
The use of empty terms is not allowed as not all programming languages are able to handle empty JSON keys.
BlankNodeIdProperty(BlankId)
Tuple Fields
0: BlankId
Blank node identifier is used as property.
The use of blank node identifiers to label properties is obsolete, and may be removed in a future version of JSON-LD.
KeywordLikeTerm(String)
Tuple Fields
0: String
Term as the form of a keyword.
KeywordLikeValue(String)
Tuple Fields
0: String
Value as the form of a keyword.
MalformedLanguageTag(String, Error)
Language tag is not well-formed.
MalformedIri(String)
Tuple Fields
0: String
String literal is not an IRI.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Warning
impl UnwindSafe for Warning
Blanket Implementations
Mutably borrows from an owned value. Read more