pub struct PuffMetadataBuilder { /* private fields */ }
Expand description
Instruction builder.
Implementations§
source§impl PuffMetadataBuilder
impl PuffMetadataBuilder
pub fn new() -> Self
pub fn add_remaining_account( &mut self, account: InstructionAccount ) -> &mut Self
pub fn add_remaining_accounts( &mut self, accounts: &[InstructionAccount] ) -> &mut Self
pub fn instruction(&self) -> Instruction
Trait Implementations§
source§impl Default for PuffMetadataBuilder
impl Default for PuffMetadataBuilder
source§fn default() -> PuffMetadataBuilder
fn default() -> PuffMetadataBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PuffMetadataBuilder
impl Send for PuffMetadataBuilder
impl Sync for PuffMetadataBuilder
impl Unpin for PuffMetadataBuilder
impl UnwindSafe for PuffMetadataBuilder
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