pub struct AccountAnalysis {
pub username: String,
pub info: AccountInfo,
pub credibility_score: f64,
pub score_level: ScoreLevel,
pub account_age_days: Option<i64>,
pub avg_tweets_per_day: Option<f64>,
pub follower_ratio: Option<f64>,
pub engagement: EngagementMetrics,
pub risk_indicators: Vec<String>,
pub assessment: String,
}Expand description
Comprehensive account analysis result
Fields§
§username: StringUsername analyzed
info: AccountInfoBasic account information
credibility_score: f64Credibility score (0-100)
score_level: ScoreLevelScore classification
account_age_days: Option<i64>Account age in days
avg_tweets_per_day: Option<f64>Average tweets per day
follower_ratio: Option<f64>Follower to following ratio
engagement: EngagementMetricsEngagement metrics
risk_indicators: Vec<String>Risk indicators
assessment: StringSummary assessment
Trait Implementations§
Source§impl Clone for AccountAnalysis
impl Clone for AccountAnalysis
Source§fn clone(&self) -> AccountAnalysis
fn clone(&self) -> AccountAnalysis
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 AccountAnalysis
impl Debug for AccountAnalysis
Source§impl<'de> Deserialize<'de> for AccountAnalysis
impl<'de> Deserialize<'de> for AccountAnalysis
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 AccountAnalysis
impl JsonSchema for AccountAnalysis
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 AccountAnalysis
impl RefUnwindSafe for AccountAnalysis
impl Send for AccountAnalysis
impl Sync for AccountAnalysis
impl Unpin for AccountAnalysis
impl UnwindSafe for AccountAnalysis
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