pub struct RiskAnalysis {Show 13 fields
pub token_mint: String,
pub risk_score: i32,
pub risk_level: RiskLevel,
pub is_rugged: bool,
pub critical_risks: Vec<Risk>,
pub high_risks: Vec<Risk>,
pub medium_risks: Vec<Risk>,
pub low_risks: Vec<Risk>,
pub insider_analysis: Option<InsiderAnalysis>,
pub liquidity_analysis: Option<LiquidityAnalysis>,
pub concentration_analysis: Option<ConcentrationAnalysis>,
pub recommendation: String,
pub analyzed_at: DateTime<Utc>,
}Expand description
Risk analysis summary
Fields§
§token_mint: StringToken being analyzed
risk_score: i32Overall risk score (0-100)
risk_level: RiskLevelRisk level classification
is_rugged: boolWhether token has been rugged
critical_risks: Vec<Risk>Critical risks found
high_risks: Vec<Risk>High risks found
medium_risks: Vec<Risk>Medium risks found
low_risks: Vec<Risk>Low risks found
insider_analysis: Option<InsiderAnalysis>Insider trading analysis
liquidity_analysis: Option<LiquidityAnalysis>Liquidity analysis
concentration_analysis: Option<ConcentrationAnalysis>Holder concentration analysis
recommendation: StringSummary recommendation
analyzed_at: DateTime<Utc>Analysis timestamp
Trait Implementations§
Source§impl Clone for RiskAnalysis
impl Clone for RiskAnalysis
Source§fn clone(&self) -> RiskAnalysis
fn clone(&self) -> RiskAnalysis
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 RiskAnalysis
impl Debug for RiskAnalysis
Source§impl<'de> Deserialize<'de> for RiskAnalysis
impl<'de> Deserialize<'de> for RiskAnalysis
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 RiskAnalysis
impl JsonSchema for RiskAnalysis
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 RiskAnalysis
impl RefUnwindSafe for RiskAnalysis
impl Send for RiskAnalysis
impl Sync for RiskAnalysis
impl Unpin for RiskAnalysis
impl UnwindSafe for RiskAnalysis
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