finance-query 2.5.0

A Rust library for querying financial data
Documentation
//! Search Thumbnail Models
//!
//! Image thumbnail data for search news results

use serde::{Deserialize, Serialize};

/// Thumbnail image with multiple resolutions
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct NewsThumbnail {
    /// Available image resolutions
    pub resolutions: Option<Vec<ThumbnailResolution>>,
}

/// Individual thumbnail resolution
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ThumbnailResolution {
    /// Image URL
    pub url: Option<String>,
    /// Image width in pixels
    pub width: Option<i32>,
    /// Image height in pixels
    pub height: Option<i32>,
    /// Resolution tag (e.g., "original", "140x140")
    pub tag: Option<String>,
}