pub struct Integer(pub String);Expand description
Portable decimal integer. Rust callers can apply checked conversion to their chosen width.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Integer
impl<'de> Deserialize<'de> for Integer
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Decode portable values without narrowing large integers.
impl Eq for Integer
impl StructuralPartialEq for Integer
Auto Trait Implementations§
impl Forget for Integer
impl Freeze for Integer
impl Move for Integer
impl RefUnwindSafe for Integer
impl Send for Integer
impl Sync for Integer
impl Unpin for Integer
impl UnsafeUnpin for Integer
impl UnwindSafe for Integer
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