pub struct AccountRewardContentInner {
pub epoch: i32,
pub amount: String,
pub pool_id: String,
pub type: Type,
}Fields§
§epoch: i32Epoch of the associated reward
amount: StringRewards for given epoch in Lovelaces
pool_id: StringBech32 pool ID being delegated to
type: TypeType of the reward
Implementations§
Trait Implementations§
Source§impl Clone for AccountRewardContentInner
impl Clone for AccountRewardContentInner
Source§fn clone(&self) -> AccountRewardContentInner
fn clone(&self) -> AccountRewardContentInner
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 AccountRewardContentInner
impl Debug for AccountRewardContentInner
Source§impl Default for AccountRewardContentInner
impl Default for AccountRewardContentInner
Source§fn default() -> AccountRewardContentInner
fn default() -> AccountRewardContentInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountRewardContentInner
impl<'de> Deserialize<'de> for AccountRewardContentInner
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
impl StructuralPartialEq for AccountRewardContentInner
Auto Trait Implementations§
impl Freeze for AccountRewardContentInner
impl RefUnwindSafe for AccountRewardContentInner
impl Send for AccountRewardContentInner
impl Sync for AccountRewardContentInner
impl Unpin for AccountRewardContentInner
impl UnwindSafe for AccountRewardContentInner
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