1 2 3 4 5 6 7 8 9 10 11 12
use std::collections::HashMap; #[derive(Deserialize)] pub struct List<T> { pub data: Vec<T>, pub has_more: bool, pub total_count: Option<u64>, pub url: String, } pub type Metadata = HashMap<String, String>; pub type Timestamp = i64;