userlib/dto/
organization_short_response.rs

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

#[derive(Serialize, Deserialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct OrganizationShortResponse {
    pub name: String,
    pub id: Uuid,
    pub children: Vec<OrganizationShortResponse>,
}