Enum jsonc_parser::ast::Value
source · pub enum Value<'a> {
StringLit(StringLit<'a>),
NumberLit(NumberLit<'a>),
BooleanLit(BooleanLit),
Object(Object<'a>),
Array(Array<'a>),
NullKeyword(NullKeyword),
}
Expand description
JSON value.
Variants§
StringLit(StringLit<'a>)
NumberLit(NumberLit<'a>)
BooleanLit(BooleanLit)
Object(Object<'a>)
Array(Array<'a>)
NullKeyword(NullKeyword)
Trait Implementations§
source§impl<'a> PartialEq<Value<'a>> for Value<'a>
impl<'a> PartialEq<Value<'a>> for Value<'a>
impl<'a> StructuralPartialEq for Value<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Value<'a>
impl<'a> Send for Value<'a>
impl<'a> Sync for Value<'a>
impl<'a> Unpin for Value<'a>
impl<'a> UnwindSafe for Value<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more