Struct round::event::WithdrawEvent
source · pub struct WithdrawEvent {
pub round: Pubkey,
pub user: Pubkey,
pub bid_mint: Pubkey,
pub offer_mint: Pubkey,
pub amount: u64,
pub reason: WithdrawReason,
}Fields§
§round: Pubkey§user: Pubkey§bid_mint: Pubkey§offer_mint: Pubkey§amount: u64§reason: WithdrawReasonTrait Implementations§
source§impl BorshDeserialize for WithdrawEventwhere
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
WithdrawReason: BorshDeserialize,
impl BorshDeserialize for WithdrawEventwhere Pubkey: BorshDeserialize, u64: BorshDeserialize, WithdrawReason: BorshDeserialize,
source§impl BorshSerialize for WithdrawEventwhere
Pubkey: BorshSerialize,
u64: BorshSerialize,
WithdrawReason: BorshSerialize,
impl BorshSerialize for WithdrawEventwhere Pubkey: BorshSerialize, u64: BorshSerialize, WithdrawReason: BorshSerialize,
source§impl Discriminator for WithdrawEvent
impl Discriminator for WithdrawEvent
const DISCRIMINATOR: [u8; 8] = _
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§
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