add struct

This commit is contained in:
P0lunin 2019-09-03 21:05:09 +03:00
parent 7262d54fa0
commit b4cfb893e9

View file

@ -0,0 +1,10 @@
use serde::Deserialize;
#[derive(Debug, Deserialize)]
struct VideoNote {
file_id: String,
length: u32,
duration: u32,
thumb: Option<PhotoSize>,
file_size: Option<u32>,
}