Struct stable_swap::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: Pubkey
Token account for pool reserves
mint: Pubkey
Mint information for the token
admin_fees: Pubkey
Public key of the admin token account to receive trading and / or withdrawal fees for token
index: u8
The 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