pub struct Payout {
pub period_end: String,
pub period_start: String,
pub accumulated_reward: EarnAmount,
pub estimated_reward: EarnAmount,
}
Expand description
Description of the payout for a particular allocation
Fields§
§period_end: String
§period_start: String
§accumulated_reward: EarnAmount
§estimated_reward: EarnAmount
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Payout
impl<'de> Deserialize<'de> for Payout
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 Payout
Auto Trait Implementations§
impl Freeze for Payout
impl RefUnwindSafe for Payout
impl Send for Payout
impl Sync for Payout
impl Unpin for Payout
impl UnwindSafe for Payout
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