pub struct Long(pub i64);Expand description
A long, which JSON carries as a string of its digits. It reads from a
string or a whole number within ±(2^53 − 1).
Tuple Fields§
§0: i64Implementations§
Trait Implementations§
impl Copy for Long
Source§impl<'de> Deserialize<'de> for Long
impl<'de> Deserialize<'de> for Long
Source§fn deserialize<De: Deserializer<'de>>(
deserializer: De,
) -> Result<Self, De::Error>
fn deserialize<De: Deserializer<'de>>( deserializer: De, ) -> Result<Self, De::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Long
impl StructuralPartialEq for Long
Auto Trait Implementations§
impl Freeze for Long
impl RefUnwindSafe for Long
impl Send for Long
impl Sync for Long
impl Unpin for Long
impl UnsafeUnpin for Long
impl UnwindSafe for Long
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