pub struct UnsignedLong(pub u64);Expand description
An unsignedLong, 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: u64Implementations§
Source§impl UnsignedLong
impl UnsignedLong
Sourcepub fn parse(lexical: &str) -> Result<Self, CodecError>
pub fn parse(lexical: &str) -> Result<Self, CodecError>
From any lexical form of xsd:unsignedLong, refused outside its width.
Trait Implementations§
Source§impl Clone for UnsignedLong
impl Clone for UnsignedLong
impl Copy for UnsignedLong
Source§impl Debug for UnsignedLong
impl Debug for UnsignedLong
Source§impl<'de> Deserialize<'de> for UnsignedLong
impl<'de> Deserialize<'de> for UnsignedLong
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
Source§impl Display for UnsignedLong
impl Display for UnsignedLong
impl Eq for UnsignedLong
Source§impl Hash for UnsignedLong
impl Hash for UnsignedLong
Source§impl PartialEq for UnsignedLong
impl PartialEq for UnsignedLong
Source§impl Serialize for UnsignedLong
impl Serialize for UnsignedLong
impl StructuralPartialEq for UnsignedLong
Auto Trait Implementations§
impl Freeze for UnsignedLong
impl RefUnwindSafe for UnsignedLong
impl Send for UnsignedLong
impl Sync for UnsignedLong
impl Unpin for UnsignedLong
impl UnsafeUnpin for UnsignedLong
impl UnwindSafe for UnsignedLong
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