pub enum StringifiedNumeric {
String(String),
U256(Uint),
Num(u64),
}Expand description
Helper type to parse numeric strings, u64 and U256
Variants§
Trait Implementations§
Source§impl Clone for StringifiedNumeric
impl Clone for StringifiedNumeric
Source§fn clone(&self) -> StringifiedNumeric
fn clone(&self) -> StringifiedNumeric
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StringifiedNumeric
impl Debug for StringifiedNumeric
Source§impl<'de> Deserialize<'de> for StringifiedNumeric
impl<'de> Deserialize<'de> for StringifiedNumeric
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StringifiedNumeric
impl RefUnwindSafe for StringifiedNumeric
impl Send for StringifiedNumeric
impl Sync for StringifiedNumeric
impl Unpin for StringifiedNumeric
impl UnwindSafe for StringifiedNumeric
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