finance-query 2.5.0

A Rust library for querying financial data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::symbol::SimilarSymbol;
/// Recommendation Result module
///
/// Contains the RecommendationResult type and conversion methods.
/// This type is internal implementation detail and not exposed in the public API.
use serde::{Deserialize, Serialize};

/// Recommendation result for a symbol
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub(crate) struct RecommendationResult {
    /// Symbol that was queried
    pub symbol: String,
    /// Recommended symbols
    pub recommended_symbols: Vec<SimilarSymbol>,
}