Struct quarry_mine::WithdrawEvent
source · [−]pub struct WithdrawEvent {
pub authority: Pubkey,
pub token: Pubkey,
pub amount: u64,
pub timestamp: i64,
}
Expand description
Emitted when tokens are withdrawn from a Quarry.
Fields
Authority withdrawing.
token: Pubkey
Mint of token withdrawn.
amount: u64
Amount withdrawn.
timestamp: i64
When the event took place.
Trait Implementations
sourceimpl BorshDeserialize for WithdrawEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
i64: BorshDeserialize,
impl BorshDeserialize for WithdrawEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
i64: BorshDeserialize,
sourceimpl BorshSerialize for WithdrawEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
impl BorshSerialize for WithdrawEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
sourceimpl Discriminator for WithdrawEvent
impl Discriminator for WithdrawEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for WithdrawEvent
impl Send for WithdrawEvent
impl Sync for WithdrawEvent
impl Unpin for WithdrawEvent
impl UnwindSafe for WithdrawEvent
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