pub struct MarketLP {Show 23 fields
pub base: Option<f64>,
pub base_mint: Option<String>,
pub base_price: Option<f64>,
pub base_usd: Option<f64>,
pub current_supply: Option<i64>,
pub holders: Option<Vec<TokenHolder>>,
pub lp_current_supply: Option<i64>,
pub lp_locked: Option<i64>,
pub lp_locked_pct: Option<f64>,
pub lp_locked_usd: Option<f64>,
pub lp_max_supply: Option<i64>,
pub lp_mint: Option<String>,
pub lp_total_supply: Option<i64>,
pub lp_unlocked: Option<i64>,
pub pct_reserve: Option<f64>,
pub pct_supply: Option<f64>,
pub quote: Option<f64>,
pub quote_mint: Option<String>,
pub quote_price: Option<f64>,
pub quote_usd: Option<f64>,
pub reserve_supply: Option<i64>,
pub token_supply: Option<i64>,
pub total_tokens_unlocked: Option<i64>,
}Expand description
Market LP token information
Fields§
§base: Option<f64>Base token amount
base_mint: Option<String>Base token mint
base_price: Option<f64>Base token price
base_usd: Option<f64>Base token USD value
current_supply: Option<i64>Current supply
holders: Option<Vec<TokenHolder>>LP token holders
lp_current_supply: Option<i64>LP current supply
lp_locked: Option<i64>LP locked amount
lp_locked_pct: Option<f64>LP locked percentage
lp_locked_usd: Option<f64>LP locked USD value
lp_max_supply: Option<i64>LP max supply
lp_mint: Option<String>LP mint address
lp_total_supply: Option<i64>LP total supply
lp_unlocked: Option<i64>LP unlocked amount
pct_reserve: Option<f64>Percentage of reserve
pct_supply: Option<f64>Percentage of supply
quote: Option<f64>Quote token amount
quote_mint: Option<String>Quote token mint
quote_price: Option<f64>Quote token price
quote_usd: Option<f64>Quote token USD value
reserve_supply: Option<i64>Reserve supply
token_supply: Option<i64>Token supply
total_tokens_unlocked: Option<i64>Total tokens unlocked
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MarketLP
impl<'de> Deserialize<'de> for MarketLP
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 JsonSchema for MarketLP
impl JsonSchema for MarketLP
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for MarketLP
impl RefUnwindSafe for MarketLP
impl Send for MarketLP
impl Sync for MarketLP
impl Unpin for MarketLP
impl UnwindSafe for MarketLP
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