pub struct NativeStableSwap {
Show 16 fields pub nonce: u8, pub initial_amp_factor: u64, pub target_amp_factor: u64, pub fees: Fees, pub swap_account: NativeAccountData, pub authority_account: NativeAccountData, pub pool_mint_account: NativeAccountData, pub pool_token_account: NativeAccountData, pub token_a_account: NativeAccountData, pub token_a_mint_account: NativeAccountData, pub token_b_account: NativeAccountData, pub token_b_mint_account: NativeAccountData, pub admin_account: NativeAccountData, pub admin_fee_a_account: NativeAccountData, pub admin_fee_b_account: NativeAccountData, pub token_program_account: NativeAccountData,
}

Fields

nonce: u8initial_amp_factor: u64target_amp_factor: u64fees: Feesswap_account: NativeAccountDataauthority_account: NativeAccountDatapool_mint_account: NativeAccountDatapool_token_account: NativeAccountDatatoken_a_account: NativeAccountDatatoken_a_mint_account: NativeAccountDatatoken_b_account: NativeAccountDatatoken_b_mint_account: NativeAccountDataadmin_account: NativeAccountDataadmin_fee_a_account: NativeAccountDataadmin_fee_b_account: NativeAccountDatatoken_program_account: NativeAccountData

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.