pub struct StakeAccountReward {
pub amount: i64,
pub earned_epoch: i64,
pub pool_id: String,
pub spendable_epoch: i64,
pub type: StakeRewardType,
}
Fields§
§amount: i64
§earned_epoch: i64
§pool_id: String
§spendable_epoch: i64
§type: StakeRewardType
Trait Implementations§
Source§impl Clone for StakeAccountReward
impl Clone for StakeAccountReward
Source§fn clone(&self) -> StakeAccountReward
fn clone(&self) -> StakeAccountReward
Returns a duplicate 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 StakeAccountReward
impl Debug for StakeAccountReward
Source§impl<'de> Deserialize<'de> for StakeAccountReward
impl<'de> Deserialize<'de> for StakeAccountReward
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
Auto Trait Implementations§
impl Freeze for StakeAccountReward
impl RefUnwindSafe for StakeAccountReward
impl Send for StakeAccountReward
impl Sync for StakeAccountReward
impl Unpin for StakeAccountReward
impl UnwindSafe for StakeAccountReward
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