some_random_api/structs/
others.rs1use serde::Deserialize;
2
3#[derive(Debug, Deserialize)]
4pub struct Base64 {
5 pub base64: String,
6}
7
8#[derive(Debug, Deserialize)]
9pub struct Binary {
10 pub binary: String,
11}
12
13#[derive(Debug, Deserialize)]
14pub struct Text {
15 pub text: String,
16}
17
18#[derive(Debug, Deserialize)]
19pub struct BotToken {
20 pub token: String,
21}
22
23#[derive(Debug, Deserialize)]
24pub struct Dictionary {
25 pub word: String,
26 pub definition: String,
27}
28
29#[derive(Debug, Deserialize)]
30pub struct Joke {
31 pub joke: String,
32}
33
34#[derive(Debug, Deserialize)]
35pub struct Lyrics {
36 pub title: String,
37 pub author: String,
38 pub lyrics: String,
39}