Enum solana_sdk::reward_type::RewardType
source · pub enum RewardType {
Fee,
Rent,
Staking,
Voting,
}
Variants§
Trait Implementations§
source§impl AbiEnumVisitor for RewardType
impl AbiEnumVisitor for RewardType
fn visit_for_abi(&self, digester: &mut AbiDigester) -> DigestResult
source§impl AbiExample for RewardType
impl AbiExample for RewardType
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 Display for RewardType
impl Display for RewardType
source§impl PartialEq<RewardType> for RewardType
impl PartialEq<RewardType> for RewardType
source§fn eq(&self, other: &RewardType) -> bool
fn eq(&self, other: &RewardType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.