pub enum Value {
Variable(String),
Literal(Json),
List(Vec<Value>),
Object(Vec<(String, Value)>),
}Variants§
Implementations§
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Forget for Value
impl Freeze for Valuewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Json>: Freeze,
PhantomData<(String, Json)>: Freeze,
PhantomData<Value>: Freeze,
PhantomData<(String, Value)>: Freeze,
impl Move for Value
impl RefUnwindSafe for Value
impl Send for Valuewhere
RawVecInner: Send,
impl Sync for Valuewhere
RawVecInner: Sync,
impl Unpin for Value
impl UnsafeUnpin for Valuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Json>: UnsafeUnpin,
PhantomData<(String, Json)>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
PhantomData<(String, Value)>: UnsafeUnpin,
impl UnwindSafe for Valuewhere
RawVecInner: UnwindSafe,
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