pub struct CreateWhitelist {
pub whitelist_account: Pubkey,
pub whitelist_authority: Pubkey,
pub funder: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§whitelist_account: PubkeyThe whitelist account to initialize
The authority that will control the whitelist
funder: PubkeyAccount that will pay for the account creation
system_program: PubkeySystem program
Implementations§
Source§impl CreateWhitelist
impl CreateWhitelist
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreateWhitelist
impl RefUnwindSafe for CreateWhitelist
impl Send for CreateWhitelist
impl Sync for CreateWhitelist
impl Unpin for CreateWhitelist
impl UnwindSafe for CreateWhitelist
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