1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use serde::{Deserialize, Serialize};
/// ```rust
///     let client = ApiClient::from_env()?;
///     let result = client
///         .list_all::<SettingGroup>(Entity::Setting)
///         .await?;
/// ```
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SettingGroup {
    /// A unique identifier that can be used to link settings together.
    pub id: String,
    /// A human readable label for the setting used in interfaces.
    pub label: String,
    /// A human readable description for the setting used in interfaces.
    pub description: String,
    /// ID of parent grouping.
    pub parent_id: String,
    /// IDs for settings sub groups.
    pub sub_groups: Vec<String>,
}