pub struct BurnCashEvent {
pub burner: Pubkey,
pub collateral_mint: Pubkey,
pub burn_amount: u64,
pub withdraw_amount: u64,
pub timestamp: i64,
}Expand description
Emitted when $CASH is burned.
Fields§
§burner: PubkeyBurner
collateral_mint: PubkeyThe mint of the collateral withdrawn.
burn_amount: u64Amount of $CASH burned.
withdraw_amount: u64Amount of collateral tokens withdrawn.
timestamp: i64Timestamp of the event.
Trait Implementations§
Source§impl BorshDeserialize for BurnCashEvent
impl BorshDeserialize for BurnCashEvent
Source§impl BorshSerialize for BurnCashEvent
impl BorshSerialize for BurnCashEvent
Source§impl Discriminator for BurnCashEvent
impl Discriminator for BurnCashEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl Freeze for BurnCashEvent
impl RefUnwindSafe for BurnCashEvent
impl Send for BurnCashEvent
impl Sync for BurnCashEvent
impl Unpin for BurnCashEvent
impl UnwindSafe for BurnCashEvent
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more