Enum serde_lite::Number
source · pub enum Number {
Float(f64),
SignedInt(i64),
UnsignedInt(u64),
}
Expand description
Number.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Number
impl<'de> Deserialize<'de> for Number
source§fn deserialize<D>(deserializer: D) -> Result<Number, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Number, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<Number> for Intermediate
impl From<Number> for Intermediate
impl Copy for Number
Auto Trait Implementations§
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
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