pub enum JsonTy {
Null,
Bool,
Number,
String,
Array,
Object,
}
Expand description
The types a serde_json::Value
can have. Used for error reporting.
Variants§
Trait Implementations§
impl Copy for JsonTy
impl StructuralPartialEq for JsonTy
Auto Trait Implementations§
impl Freeze for JsonTy
impl RefUnwindSafe for JsonTy
impl Send for JsonTy
impl Sync for JsonTy
impl Unpin for JsonTy
impl UnwindSafe for JsonTy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)