Enum ethers_core::types::RewardType [−][src]
pub enum RewardType {
Block,
Uncle,
EmptyStep,
External,
}
Expand description
Reward type.
Variants
Block
Uncle
EmptyStep (AuthorityRound)
External (attributed as part of an external protocol)
Trait Implementations
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 RefUnwindSafe for RewardType
impl Send for RewardType
impl Sync for RewardType
impl Unpin for RewardType
impl UnwindSafe for RewardType
Blanket Implementations
Mutably borrows from an owned value. Read more