use coinpaprika_api::client::Client;use coinpaprika_api::tickers::Tickers;use std::error::Error;#[tokio::main]async fn main() -> Result<(), Box<dyn Error>> { let client = Client::new(); // Get all tickers let tickers: Tickers = client.tickers().send().await?; println!("\nTop 5 cryptocurrencies:"); for ticker in tickers.iter().take(5) { let name = &ticker.name; let symbol = &ticker.symbol; let price = ticker.quotes.get("USD").map_or(0.0, |q| q.price); println!("{} ({}): ${:.2}", name, symbol, price); } Ok(())}