Struct lite_json::json::NumberValue
source · [−]pub struct NumberValue {
pub integer: u64,
pub fraction: u64,
pub fraction_length: u32,
pub exponent: i32,
pub negative: bool,
}
Fields
integer: u64
fraction: u64
fraction_length: u32
exponent: i32
negative: bool
Implementations
sourceimpl NumberValue
impl NumberValue
Trait Implementations
sourceimpl Clone for NumberValue
impl Clone for NumberValue
sourcefn clone(&self) -> NumberValue
fn clone(&self) -> NumberValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NumberValue
impl Debug for NumberValue
sourceimpl Into<f64> for NumberValue
impl Into<f64> for NumberValue
sourceimpl PartialEq<NumberValue> for NumberValue
impl PartialEq<NumberValue> for NumberValue
sourcefn eq(&self, other: &NumberValue) -> bool
fn eq(&self, other: &NumberValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NumberValue) -> bool
fn ne(&self, other: &NumberValue) -> bool
This method tests for !=
.
sourceimpl Serialize for NumberValue
impl Serialize for NumberValue
impl Copy for NumberValue
impl StructuralPartialEq for NumberValue
Auto Trait Implementations
impl RefUnwindSafe for NumberValue
impl Send for NumberValue
impl Sync for NumberValue
impl Unpin for NumberValue
impl UnwindSafe for NumberValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more