scout_rs 0.95.95

A Rust client for the synchornizing state with the Scout database
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

/// A system role seeded into every new herd (`public.platform_default_roles`).
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct PlatformDefaultRole {
    pub system_name: String,
    pub name: String,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,
    #[serde(default)]
    pub manages_members: bool,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub inserted_at: Option<String>,
}