sociallib/dto/
friend_group_request.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};
use uuid::Uuid;

#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct FriendGroupRequest {
    pub id: Option<Uuid>,
    pub name: String,
    pub owner: Option<Uuid>,
    #[serde(rename = "type")]
    pub type_t: Option<String>,
    pub tags: Option<Vec<String>>,
    pub ver: Option<i32>,
}