pub struct PrintCashEvent {
pub depositor: Pubkey,
pub collateral_mint: Pubkey,
pub print_amount: u64,
pub deposit_amount: u64,
pub timestamp: i64,
}Expand description
Emitted when $CASH is printed.
Fields§
§depositor: PubkeyThe user which deposited collateral.
collateral_mint: PubkeyThe mint of the collateral used to print.
print_amount: u64Amount of $CASH printed.
deposit_amount: u64Amount of collateral tokens deposited.
timestamp: i64Timestamp of the event.
Trait Implementations§
Source§impl BorshDeserialize for PrintCashEvent
impl BorshDeserialize for PrintCashEvent
Source§impl BorshSerialize for PrintCashEvent
impl BorshSerialize for PrintCashEvent
Source§impl Discriminator for PrintCashEvent
impl Discriminator for PrintCashEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl Freeze for PrintCashEvent
impl RefUnwindSafe for PrintCashEvent
impl Send for PrintCashEvent
impl Sync for PrintCashEvent
impl Unpin for PrintCashEvent
impl UnwindSafe for PrintCashEvent
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