Struct quarry_mine::QuarryRewardsUpdateEvent
source · [−]pub struct QuarryRewardsUpdateEvent {
pub token_mint: Pubkey,
pub annual_rewards_rate: u64,
pub rewards_share: u64,
pub timestamp: i64,
}
Expand description
Triggered when a quarry’s reward share is updated.
Fields
token_mint: Pubkey
annual_rewards_rate: u64
New annual rewards rate
New rewards share.
timestamp: i64
When the event took place.
Trait Implementations
sourceimpl BorshDeserialize for QuarryRewardsUpdateEvent where
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
i64: BorshDeserialize,
impl BorshDeserialize for QuarryRewardsUpdateEvent where
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
u64: BorshDeserialize,
i64: BorshDeserialize,
sourceimpl BorshSerialize for QuarryRewardsUpdateEvent where
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
impl BorshSerialize for QuarryRewardsUpdateEvent where
Pubkey: BorshSerialize,
u64: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
sourceimpl Discriminator for QuarryRewardsUpdateEvent
impl Discriminator for QuarryRewardsUpdateEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for QuarryRewardsUpdateEvent
impl Send for QuarryRewardsUpdateEvent
impl Sync for QuarryRewardsUpdateEvent
impl Unpin for QuarryRewardsUpdateEvent
impl UnwindSafe for QuarryRewardsUpdateEvent
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more