pub struct ApproveCollectionAuthorityBuilder {
pub collection_authority_record: Option<Pubkey>,
pub new_collection_authority: Option<Pubkey>,
pub update_authority: Option<Pubkey>,
pub payer: Option<Pubkey>,
pub metadata: Option<Pubkey>,
pub mint: Option<Pubkey>,
pub system_program: Option<Pubkey>,
pub rent: Option<Pubkey>,
}
Fields§
§payer: Option<Pubkey>
§metadata: Option<Pubkey>
§mint: Option<Pubkey>
§system_program: Option<Pubkey>
§rent: Option<Pubkey>
Implementations§
source§impl ApproveCollectionAuthorityBuilder
impl ApproveCollectionAuthorityBuilder
pub fn new() -> Box<ApproveCollectionAuthorityBuilder>
pub fn payer(&mut self, payer: Pubkey) -> &mut Self
pub fn metadata(&mut self, metadata: Pubkey) -> &mut Self
pub fn mint(&mut self, mint: Pubkey) -> &mut Self
pub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
pub fn rent(&mut self, rent: Pubkey) -> &mut Self
pub fn build( &mut self ) -> Result<Box<ApproveCollectionAuthority>, Box<dyn Error>>
Auto Trait Implementations§
impl RefUnwindSafe for ApproveCollectionAuthorityBuilder
impl Send for ApproveCollectionAuthorityBuilder
impl Sync for ApproveCollectionAuthorityBuilder
impl Unpin for ApproveCollectionAuthorityBuilder
impl UnwindSafe for ApproveCollectionAuthorityBuilder
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