pub enum StakeAccountType {
Uninitialized,
Initialized(UiStakeAccount),
Delegated(UiStakeAccount),
RewardsPool,
}
Variants§
Trait Implementations§
source§impl Debug for StakeAccountType
impl Debug for StakeAccountType
source§impl<'de> Deserialize<'de> for StakeAccountType
impl<'de> Deserialize<'de> for StakeAccountType
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<StakeAccountType> for StakeAccountType
impl PartialEq<StakeAccountType> for StakeAccountType
source§fn eq(&self, other: &StakeAccountType) -> bool
fn eq(&self, other: &StakeAccountType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.