gemini_ai/content_gen/
format.rs

1// use serde::Deserialize;
2
3// #[derive(Debug, Deserialize)]
4// pub struct Files {
5//     name: String,
6//     displayName: String,
7//     mimeType: String,
8//     sizeBytes: String,
9//     createTime: String,
10//     updateTime: String,
11//     expirationTime: String,
12//     sha256Hash: String,
13//     uri: String,
14//     state: String,
15// }
16
17// #[derive(Debug, Deserialize)]
18// pub struct JsonResponse {
19//     canditates: Vec<Main>,
20// }
21
22// #[derive(Debug, Deserialize)]
23// pub struct Main {
24//     content: Vec<()>,
25//     finishReason: String,
26//     citationMetadata: CitationSource,
27// }
28
29// #[derive(Debug, Deserialize)]
30// pub struct CitationSource {
31//     citationSources: Vec<Source>,
32// }
33
34// #[derive(Debug, Deserialize)]
35// pub struct Source {
36//     startIndex: u64,
37//     endIndex: u64,
38//     uri: String,
39// }