pub enum Literal<J: Json> {
Null,
Boolean(bool),
Number(J::Number),
String(LiteralString<J>),
}Expand description
Literal value.
Variants
Null
The null value.
Boolean(bool)
Boolean value.
Number(J::Number)
Number.
String(LiteralString<J>)
String.
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