pub struct Pool {
Show 18 fields pub account: String, pub authority: String, pub nonce: u8, pub pool_token_mint: String, pub token_account_a: String, pub token_account_b: String, pub fee_account: String, pub fee_numerator: u64, pub fee_denominator: u64, pub owner_trade_fee_numerator: u64, pub owner_trade_fee_denominator: u64, pub owner_withdraw_fee_numerator: u64, pub host_fee_numerator: u64, pub token_a_name: String, pub token_b_name: String, pub curve_type: String, pub deprecated: Option<bool>, pub program_version: Option<u64>,
}

Fields

account: Stringauthority: Stringnonce: u8pool_token_mint: Stringtoken_account_a: Stringtoken_account_b: Stringfee_account: Stringfee_numerator: u64fee_denominator: u64owner_trade_fee_numerator: u64owner_trade_fee_denominator: u64owner_withdraw_fee_numerator: u64host_fee_numerator: u64token_a_name: Stringtoken_b_name: Stringcurve_type: Stringdeprecated: Option<bool>program_version: Option<u64>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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

Compare self to key and return true if they are equal.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more