pub enum RewardType {
Block,
Uncle,
EmptyStep,
External,
}
Expand description
Reward type.
Variants§
Block
Block
Uncle
Uncle
EmptyStep
EmptyStep (AuthorityRound)
External
External (attributed as part of an external protocol)
Trait Implementations§
Source§impl Clone for RewardType
impl Clone for RewardType
Source§fn clone(&self) -> RewardType
fn clone(&self) -> RewardType
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 RewardType
impl Debug for RewardType
Source§impl<'de> Deserialize<'de> for RewardType
impl<'de> Deserialize<'de> for RewardType
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 PartialEq for RewardType
impl PartialEq for RewardType
Source§impl Serialize for RewardType
impl Serialize for RewardType
impl StructuralPartialEq for RewardType
Auto Trait Implementations§
impl Freeze for RewardType
impl RefUnwindSafe for RewardType
impl Send for RewardType
impl Sync for RewardType
impl Unpin for RewardType
impl UnwindSafe for RewardType
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