pub struct IssueEvent {
pub crate_key: Pubkey,
pub destination: Pubkey,
pub amount: u64,
pub author_fee: u64,
pub protocol_fee: u64,
}Expand description
Emitted when crate tokens are issued.
Fields§
§crate_key: PubkeyKey of the created crate.
destination: PubkeyDestination token account.
amount: u64Amount of tokens issued.
Author fee.
protocol_fee: u64Protocol fee.
Trait Implementations§
Source§impl BorshDeserialize for IssueEvent
impl BorshDeserialize for IssueEvent
Source§impl BorshSerialize for IssueEvent
impl BorshSerialize for IssueEvent
Source§impl Discriminator for IssueEvent
impl Discriminator for IssueEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations§
impl Freeze for IssueEvent
impl RefUnwindSafe for IssueEvent
impl Send for IssueEvent
impl Sync for IssueEvent
impl Unpin for IssueEvent
impl UnsafeUnpin for IssueEvent
impl UnwindSafe for IssueEvent
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