pub struct UpdateFeesBuilder { /* private fields */ }
Expand description
Instruction builder for UpdateFees
.
§Accounts:
[writable]
fusion_pool[writable]
position[]
tick_array_lower[]
tick_array_upper
Implementations§
Source§impl UpdateFeesBuilder
impl UpdateFeesBuilder
pub fn new() -> Self
pub fn fusion_pool(&mut self, fusion_pool: Pubkey) -> &mut Self
pub fn position(&mut self, position: Pubkey) -> &mut Self
pub fn tick_array_lower(&mut self, tick_array_lower: Pubkey) -> &mut Self
pub fn tick_array_upper(&mut self, tick_array_upper: Pubkey) -> &mut Self
Sourcepub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
pub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
Add an additional account to the instruction.
Sourcepub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
pub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
Add additional accounts to the instruction.
pub fn instruction(&self) -> Instruction
Trait Implementations§
Source§impl Clone for UpdateFeesBuilder
impl Clone for UpdateFeesBuilder
Source§fn clone(&self) -> UpdateFeesBuilder
fn clone(&self) -> UpdateFeesBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdateFeesBuilder
impl Debug for UpdateFeesBuilder
Source§impl Default for UpdateFeesBuilder
impl Default for UpdateFeesBuilder
Source§fn default() -> UpdateFeesBuilder
fn default() -> UpdateFeesBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateFeesBuilder
impl RefUnwindSafe for UpdateFeesBuilder
impl Send for UpdateFeesBuilder
impl Sync for UpdateFeesBuilder
impl Unpin for UpdateFeesBuilder
impl UnwindSafe for UpdateFeesBuilder
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