Struct stable_swap_client::state::SwapTokenInfo [−][src]
#[repr(C)]pub struct SwapTokenInfo {
pub reserves: Pubkey,
pub mint: Pubkey,
pub admin_fees: Pubkey,
pub index: u8,
}Expand description
Information about one of the tokens.
Fields
reserves: PubkeyToken account for pool reserves
mint: PubkeyMint information for the token
admin_fees: PubkeyPublic key of the admin token account to receive trading and / or withdrawal fees for token
index: u8The index of the token. Token A = 0, Token B = 1.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SwapTokenInfo
impl Send for SwapTokenInfo
impl Sync for SwapTokenInfo
impl Unpin for SwapTokenInfo
impl UnwindSafe for SwapTokenInfo
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
