Struct mpl_token_metadata::instruction::builders::UpdateBuilder
source · pub struct UpdateBuilder {
pub authority: Option<Pubkey>,
pub delegate_record: Option<Pubkey>,
pub token: Option<Pubkey>,
pub mint: Option<Pubkey>,
pub metadata: Option<Pubkey>,
pub edition: Option<Pubkey>,
pub payer: Option<Pubkey>,
pub system_program: Option<Pubkey>,
pub sysvar_instructions: Option<Pubkey>,
pub authorization_rules_program: Option<Pubkey>,
pub authorization_rules: Option<Pubkey>,
}
Fields§
§delegate_record: Option<Pubkey>
§token: Option<Pubkey>
§mint: Option<Pubkey>
§metadata: Option<Pubkey>
§edition: Option<Pubkey>
§payer: Option<Pubkey>
§system_program: Option<Pubkey>
§sysvar_instructions: Option<Pubkey>
Implementations§
source§impl UpdateBuilder
impl UpdateBuilder
pub fn new() -> Box<UpdateBuilder>
pub fn delegate_record(&mut self, delegate_record: Pubkey) -> &mut Self
pub fn token(&mut self, token: Pubkey) -> &mut Self
pub fn mint(&mut self, mint: Pubkey) -> &mut Self
pub fn metadata(&mut self, metadata: Pubkey) -> &mut Self
pub fn edition(&mut self, edition: Pubkey) -> &mut Self
pub fn payer(&mut self, payer: Pubkey) -> &mut Self
pub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
pub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
pub fn build(&mut self, args: UpdateArgs) -> Result<Box<Update>, Box<dyn Error>>
Auto Trait Implementations§
impl RefUnwindSafe for UpdateBuilder
impl Send for UpdateBuilder
impl Sync for UpdateBuilder
impl Unpin for UpdateBuilder
impl UnwindSafe for UpdateBuilder
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