#[repr(C)]pub struct VALUE {
pub t: VALUE_TYPE,
pub u: UINT,
pub d: UINT64,
}
Expand description
A JSON value.
An opaque union that can hold different types of values: numbers, strings, arrays, objects, etc.
Fields
t: VALUE_TYPE
Value type.
u: UINT
Value unit type.
d: UINT64
Value data.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VALUE
impl Send for VALUE
impl Sync for VALUE
impl Unpin for VALUE
impl UnwindSafe for VALUE
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more