flodgatt/src/query.rs

19 lines
309 B
Rust
Raw Normal View History

use serde_derive::Deserialize;
#[derive(Deserialize)]
pub struct Media {
pub only_media: String,
}
#[derive(Deserialize)]
pub struct Hashtag {
pub tag: String,
}
#[derive(Deserialize)]
pub struct List {
pub list: String,
}
2019-04-19 01:02:29 +02:00
#[derive(Deserialize)]
pub struct Auth {
pub access_token: String,
}