pub struct RedeemTokensEvent {
pub user: Pubkey,
pub iou_mint: Pubkey,
pub redemption_mint: Pubkey,
pub amount: u64,
pub timestamp: i64,
}
Expand description
Emitted when tokens are redeemed.
When the tokens were redeemed.
impl BorshDeserialize for RedeemTokensEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
i64: BorshDeserialize,
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes. Read more
Deserialize this instance from a slice of bytes.
impl BorshSerialize for RedeemTokensEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
i64: BorshSerialize,
Serialize this instance into a vector of bytes.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,