Struct mpl_testing_utils::utils::MasterEditionV2
source · [−]pub struct MasterEditionV2 {
pub pubkey: Pubkey,
pub metadata_pubkey: Pubkey,
pub mint_pubkey: Pubkey,
}Fields
pubkey: Pubkeymetadata_pubkey: Pubkeymint_pubkey: PubkeyImplementations
sourceimpl MasterEditionV2
impl MasterEditionV2
pub fn new(metadata: &Metadata) -> Self
pub async fn get_data(&self, context: &mut ProgramTestContext) -> MasterEditionV2
pub async fn get_data_from_account(
context: &mut ProgramTestContext,
pubkey: &Pubkey
) -> MasterEditionV2
pub async fn create_with_invalid_token_program(
&self,
context: &mut ProgramTestContext,
max_supply: Option<u64>
) -> Result<(), BanksClientError>
pub async fn create(
&self,
context: &mut ProgramTestContext,
max_supply: Option<u64>
) -> Result<(), BanksClientError>
pub async fn create_v3(
&self,
context: &mut ProgramTestContext,
max_supply: Option<u64>
) -> Result<(), BanksClientError>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MasterEditionV2
impl Send for MasterEditionV2
impl Sync for MasterEditionV2
impl Unpin for MasterEditionV2
impl UnwindSafe for MasterEditionV2
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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