gitlib/dto/
create_group_request.rs

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

use crate::enums::owner_type::OwnerType;

#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct CreateGroupRequest {
    pub owner_type: OwnerType,
    pub path: String,
    pub is_public: bool,
    pub is_internal: bool,
}