pub struct ClaimedEvent {
pub tip_distribution_account: Pubkey,
pub payer: Pubkey,
pub claimant: Pubkey,
pub amount: u64,
}
Fields§
§tip_distribution_account: Pubkey
TipDistributionAccount claimed from.
payer: Pubkey
User that paid for the claim, may or may not be the same as claimant.
claimant: Pubkey
Account that received the funds.
amount: u64
Amount of funds to distribute.
Trait Implementations§
Source§impl BorshDeserialize for ClaimedEvent
impl BorshDeserialize for ClaimedEvent
Source§impl BorshSerialize for ClaimedEvent
impl BorshSerialize for ClaimedEvent
Source§impl Discriminator for ClaimedEvent
impl Discriminator for ClaimedEvent
const DISCRIMINATOR: [u8; 8]
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl Freeze for ClaimedEvent
impl RefUnwindSafe for ClaimedEvent
impl Send for ClaimedEvent
impl Sync for ClaimedEvent
impl Unpin for ClaimedEvent
impl UnwindSafe for ClaimedEvent
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