Struct jormungandr_lib::interfaces::stake_pool_stats::Rewards
source · pub struct Rewards {
pub epoch: u32,
pub value_taxed: Value,
pub value_for_stakers: Value,
}
Fields§
§epoch: u32
§value_taxed: Value
§value_for_stakers: Value
Trait Implementations§
source§impl<'de> Deserialize<'de> for Rewards
impl<'de> Deserialize<'de> for Rewards
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<Rewards> for Rewards
impl PartialEq<Rewards> for Rewards
impl Eq for Rewards
impl StructuralEq for Rewards
impl StructuralPartialEq for Rewards
Auto Trait Implementations§
impl RefUnwindSafe for Rewards
impl Send for Rewards
impl Sync for Rewards
impl Unpin for Rewards
impl UnwindSafe for Rewards
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