Struct quarry_mint_wrapper::NewMintWrapperEvent
source · [−]pub struct NewMintWrapperEvent {
pub mint_wrapper: Pubkey,
pub hard_cap: u64,
pub admin: Pubkey,
pub token_mint: Pubkey,
}
Expand description
Emitted when a MintWrapper is created.
Fields
mint_wrapper: Pubkey
The MintWrapper.
hard_cap: u64
Hard cap.
admin: Pubkey
The admin.
token_mint: Pubkey
The Mint of the token.
Trait Implementations
sourceimpl BorshDeserialize for NewMintWrapperEvent where
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
impl BorshDeserialize for NewMintWrapperEvent where
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
sourcefn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes. Read more
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
sourceimpl BorshSerialize for NewMintWrapperEvent where
Pubkey: BorshSerialize,
u64: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
impl BorshSerialize for NewMintWrapperEvent where
Pubkey: BorshSerialize,
u64: BorshSerialize,
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
sourceimpl Discriminator for NewMintWrapperEvent
impl Discriminator for NewMintWrapperEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for NewMintWrapperEvent
impl Send for NewMintWrapperEvent
impl Sync for NewMintWrapperEvent
impl Unpin for NewMintWrapperEvent
impl UnwindSafe for NewMintWrapperEvent
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more