Struct mint_proxy::MintProxyInfo 
source · [−]pub struct MintProxyInfo {
    pub nonce: u8,
    pub hard_cap: u64,
    pub proxy_mint_authority: Pubkey,
    pub owner: Pubkey,
    pub pending_owner: Pubkey,
    pub state_associated_account: Pubkey,
    pub token_mint: Pubkey,
}Expand description
Information about the mint proxy. Duplicate struct generated for the SDK to use.
Fields
nonce: u8Nonce for allowing the proxy mint authority to sign.
hard_cap: u64Maximum number of tokens that can be issued.
Account which is the authority over minted tokens.
owner: PubkeyOwner account which can perform admin operations.
pending_owner: PubkeyNext owner account.
state_associated_account: PubkeyAccount key of the state struct.
token_mint: PubkeyMint of the token to be minted
Trait Implementations
sourceimpl AccountDeserialize for MintProxyInfo
 
impl AccountDeserialize for MintProxyInfo
sourcefn try_deserialize(buf: &mut &[u8]) -> Result<Self>
 
fn try_deserialize(buf: &mut &[u8]) -> Result<Self>
Deserializes previously initialized account data. Should fail for all
uninitialized accounts, where the bytes are zeroed. Implementations
should be unique to a particular account type so that one can never
successfully deserialize the data of one account type into another.
For example, if the SPL token program were to implement this trait,
it should be impossible to deserialize a Mint account into a token
Account. Read more
sourceimpl AccountSerialize for MintProxyInfo
 
impl AccountSerialize for MintProxyInfo
sourceimpl BorshDeserialize for MintProxyInfo where
    u8: BorshDeserialize,
    u64: BorshDeserialize,
    Pubkey: BorshDeserialize,
    Pubkey: BorshDeserialize,
    Pubkey: BorshDeserialize,
    Pubkey: BorshDeserialize,
    Pubkey: BorshDeserialize, 
 
impl BorshDeserialize for MintProxyInfo where
    u8: BorshDeserialize,
    u64: BorshDeserialize,
    Pubkey: BorshDeserialize,
    Pubkey: BorshDeserialize,
    Pubkey: BorshDeserialize,
    Pubkey: BorshDeserialize,
    Pubkey: BorshDeserialize, 
sourceimpl BorshSerialize for MintProxyInfo where
    u8: BorshSerialize,
    u64: BorshSerialize,
    Pubkey: BorshSerialize,
    Pubkey: BorshSerialize,
    Pubkey: BorshSerialize,
    Pubkey: BorshSerialize,
    Pubkey: BorshSerialize, 
 
impl BorshSerialize for MintProxyInfo where
    u8: BorshSerialize,
    u64: BorshSerialize,
    Pubkey: BorshSerialize,
    Pubkey: BorshSerialize,
    Pubkey: BorshSerialize,
    Pubkey: BorshSerialize,
    Pubkey: BorshSerialize, 
sourceimpl Clone for MintProxyInfo
 
impl Clone for MintProxyInfo
sourcefn clone(&self) -> MintProxyInfo
 
fn clone(&self) -> MintProxyInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for MintProxyInfo
 
impl Default for MintProxyInfo
sourcefn default() -> MintProxyInfo
 
fn default() -> MintProxyInfo
Returns the “default value” for a type. Read more
sourceimpl Discriminator for MintProxyInfo
 
impl Discriminator for MintProxyInfo
fn discriminator() -> [u8; 8]
sourceimpl Owner for MintProxyInfo
 
impl Owner for MintProxyInfo
Auto Trait Implementations
impl RefUnwindSafe for MintProxyInfo
impl Send for MintProxyInfo
impl Sync for MintProxyInfo
impl Unpin for MintProxyInfo
impl UnwindSafe for MintProxyInfo
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
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
 
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more