1 2 3 4 5 6 7 8 9 10 11 12
use serde::{Deserialize, Serialize}; #[derive(Debug, Deserialize, Serialize)] pub struct Attachment { pub id: String, pub filename: String, pub size: u64, pub url: String, pub proxy_url: String, pub height: Option<u64>, pub width: Option<u64>, }