pub enum StakeStateV2 {
Uninitialized,
Initialized(Meta),
Stake(Meta, Stake, StakeFlags),
RewardsPool,
}Variants§
Implementations§
Source§impl StakeStateV2
impl StakeStateV2
Trait Implementations§
Source§impl Clone for StakeStateV2
impl Clone for StakeStateV2
Source§fn clone(&self) -> StakeStateV2
fn clone(&self) -> StakeStateV2
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 StakeStateV2
impl Debug for StakeStateV2
Source§impl Default for StakeStateV2
impl Default for StakeStateV2
Source§fn default() -> StakeStateV2
fn default() -> StakeStateV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StakeStateV2
impl<'de> Deserialize<'de> for StakeStateV2
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 StakeStateV2
impl PartialEq for StakeStateV2
Source§impl Serialize for StakeStateV2
impl Serialize for StakeStateV2
impl Copy for StakeStateV2
impl StructuralPartialEq for StakeStateV2
Auto Trait Implementations§
impl Freeze for StakeStateV2
impl RefUnwindSafe for StakeStateV2
impl Send for StakeStateV2
impl Sync for StakeStateV2
impl Unpin for StakeStateV2
impl UnwindSafe for StakeStateV2
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