Enum json_ld::object::value::Literal [−][src]
pub enum Literal<J: Json> {
Null,
Boolean(bool),
Number(J::Number),
String(LiteralString<J>),
}
Expand description
Literal value.
Variants
The null
value.
Boolean(bool)
Boolean value.
Tuple Fields of Boolean
0: bool
Number(J::Number)
Number.
Tuple Fields of Number
0: J::Number
String(LiteralString<J>)
String.
Tuple Fields of String
0: LiteralString<J>
Implementations
Trait Implementations
Auto Trait Implementations
impl<J> RefUnwindSafe for Literal<J> where
<J as Json>::Number: RefUnwindSafe,
<J as Json>::String: RefUnwindSafe,
impl<J> UnwindSafe for Literal<J> where
<J as Json>::Number: UnwindSafe,
<J as Json>::String: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more