1use serde::{Deserialize, Serialize};
2
3#[derive(Serialize, Deserialize, Debug)]
4pub struct User {
5 pub name: Option<String>,
6 pub id: Option<String>,
7 pub first_name: Option<String>,
8 pub last_name: Option<String>,
9}
10
11#[derive(Serialize, Deserialize, Debug)]
12pub struct Picture {
13 pub height: i32,
14 pub is_silhouette: bool,
15 pub url: String,
16 pub width: i32,
17}
18
19#[derive(Serialize, Deserialize, Debug)]
20pub struct ResponseFriends {
21 pub data: Option<Vec<User>>,
22}
23
24#[derive(Serialize, Deserialize, Debug, Default)]
25pub struct ResponsePicture {
26 pub data: Option<Picture>,
27}