pub enum LiteralSubdenomination {
Seconds,
Minutes,
Hours,
Days,
Weeks,
Wei,
Gwei,
Ether,
Finney,
Szabo,
}
Expand description
LiteralSubdenomination
JSON schema
{
"enum": [
"seconds",
"minutes",
"hours",
"days",
"weeks",
"wei",
"gwei",
"ether",
"finney",
"szabo"
]
}
Variants§
Trait Implementations§
Source§impl Clone for LiteralSubdenomination
impl Clone for LiteralSubdenomination
Source§fn clone(&self) -> LiteralSubdenomination
fn clone(&self) -> LiteralSubdenomination
Returns a copy 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 LiteralSubdenomination
impl Debug for LiteralSubdenomination
Source§impl<'de> Deserialize<'de> for LiteralSubdenomination
impl<'de> Deserialize<'de> for LiteralSubdenomination
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
Source§impl From<&LiteralSubdenomination> for LiteralSubdenomination
impl From<&LiteralSubdenomination> for LiteralSubdenomination
Source§fn from(value: &LiteralSubdenomination) -> Self
fn from(value: &LiteralSubdenomination) -> Self
Converts to this type from the input type.
Source§impl FromStr for LiteralSubdenomination
impl FromStr for LiteralSubdenomination
Source§impl Hash for LiteralSubdenomination
impl Hash for LiteralSubdenomination
Source§impl Ord for LiteralSubdenomination
impl Ord for LiteralSubdenomination
Source§fn cmp(&self, other: &LiteralSubdenomination) -> Ordering
fn cmp(&self, other: &LiteralSubdenomination) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LiteralSubdenomination
impl PartialEq for LiteralSubdenomination
Source§impl PartialOrd for LiteralSubdenomination
impl PartialOrd for LiteralSubdenomination
Source§impl Serialize for LiteralSubdenomination
impl Serialize for LiteralSubdenomination
Source§impl ToString for LiteralSubdenomination
impl ToString for LiteralSubdenomination
Source§impl TryFrom<&String> for LiteralSubdenomination
impl TryFrom<&String> for LiteralSubdenomination
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for LiteralSubdenomination
impl TryFrom<&str> for LiteralSubdenomination
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for LiteralSubdenomination
impl TryFrom<String> for LiteralSubdenomination
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for LiteralSubdenomination
impl Eq for LiteralSubdenomination
impl StructuralPartialEq for LiteralSubdenomination
Auto Trait Implementations§
impl Freeze for LiteralSubdenomination
impl RefUnwindSafe for LiteralSubdenomination
impl Send for LiteralSubdenomination
impl Sync for LiteralSubdenomination
impl Unpin for LiteralSubdenomination
impl UnwindSafe for LiteralSubdenomination
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