pub struct LiquidityAnalysis {
pub total_liquidity_usd: f64,
pub lp_locked_pct: f64,
pub provider_count: i32,
pub concentration: String,
}Expand description
Liquidity analysis
Fields§
§total_liquidity_usd: f64Total liquidity in USD
lp_locked_pct: f64Percentage of LP tokens locked
provider_count: i32Number of liquidity providers
concentration: StringLiquidity concentration
Trait Implementations§
Source§impl Clone for LiquidityAnalysis
impl Clone for LiquidityAnalysis
Source§fn clone(&self) -> LiquidityAnalysis
fn clone(&self) -> LiquidityAnalysis
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LiquidityAnalysis
impl Debug for LiquidityAnalysis
Source§impl<'de> Deserialize<'de> for LiquidityAnalysis
impl<'de> Deserialize<'de> for LiquidityAnalysis
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 LiquidityAnalysis
impl JsonSchema for LiquidityAnalysis
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 LiquidityAnalysis
impl RefUnwindSafe for LiquidityAnalysis
impl Send for LiquidityAnalysis
impl Sync for LiquidityAnalysis
impl Unpin for LiquidityAnalysis
impl UnwindSafe for LiquidityAnalysis
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