1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
use super::*; /// <https://vk.com/dev/objects/audio> #[derive(Deserialize, Clone, Debug)] pub struct Audio { pub id: Integer, pub owner_id: Integer, pub artist: String, pub title: String, pub duration: Integer, pub url: String, pub lyrics_id: Option<Integer>, pub album_id: Option<Integer>, pub genre_id: Integer, pub date: Integer, pub no_search: Option<Integer>, pub is_hq: Option<Integer>, /// Access key may be present in attachments /// ( /// <https://vk.com/dev/objects/attachments_w> /// or /// <https://vk.com/dev/objects/attachments_m> /// ) pub access_key: Option<String>, }