pub struct TransactionConfig {Show 15 fields
pub wrap_and_unwrap_sol: bool,
pub allow_optimized_wrapped_sol_token_account: bool,
pub fee_account: Option<Pubkey>,
pub destination_token_account: Option<Pubkey>,
pub tracking_account: Option<Pubkey>,
pub compute_unit_price_micro_lamports: Option<ComputeUnitPriceMicroLamports>,
pub prioritization_fee_lamports: Option<PrioritizationFeeLamports>,
pub dynamic_compute_unit_limit: bool,
pub as_legacy_transaction: bool,
pub use_shared_accounts: bool,
pub use_token_ledger: bool,
pub skip_user_accounts_rpc_calls: bool,
pub keyed_ui_accounts: Option<Vec<KeyedUiAccount>>,
pub program_authority_id: Option<u8>,
pub dynamic_slippage: Option<DynamicSlippageSettings>,
}Fields§
§wrap_and_unwrap_sol: bool§allow_optimized_wrapped_sol_token_account: bool§fee_account: Option<Pubkey>§destination_token_account: Option<Pubkey>§tracking_account: Option<Pubkey>§compute_unit_price_micro_lamports: Option<ComputeUnitPriceMicroLamports>§prioritization_fee_lamports: Option<PrioritizationFeeLamports>§dynamic_compute_unit_limit: bool§as_legacy_transaction: bool§use_token_ledger: bool§skip_user_accounts_rpc_calls: bool§keyed_ui_accounts: Option<Vec<KeyedUiAccount>>§dynamic_slippage: Option<DynamicSlippageSettings>Trait Implementations§
Source§impl Clone for TransactionConfig
impl Clone for TransactionConfig
Source§fn clone(&self) -> TransactionConfig
fn clone(&self) -> TransactionConfig
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 TransactionConfig
impl Debug for TransactionConfig
Source§impl Default for TransactionConfig
impl Default for TransactionConfig
Source§impl<'de> Deserialize<'de> for TransactionConfigwhere
TransactionConfig: Default,
impl<'de> Deserialize<'de> for TransactionConfigwhere
TransactionConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransactionConfig
impl PartialEq for TransactionConfig
Source§impl Serialize for TransactionConfig
impl Serialize for TransactionConfig
impl StructuralPartialEq for TransactionConfig
Auto Trait Implementations§
impl Freeze for TransactionConfig
impl RefUnwindSafe for TransactionConfig
impl Send for TransactionConfig
impl Sync for TransactionConfig
impl Unpin for TransactionConfig
impl UnsafeUnpin for TransactionConfig
impl UnwindSafe for TransactionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more