workos 1.0.0

Official Rust SDK for the WorkOS API
Documentation
// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// The event payload.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct PermissionCreatedData {
    /// Distinguishes the permission object.
    pub object: String,
    /// Unique identifier of the permission.
    pub id: String,
    /// The slug identifier of the permission.
    pub slug: String,
    /// The name of the permission.
    pub name: String,
    /// A description of the permission.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub description: Option<String>,
    /// Whether the permission is a system permission.
    pub system: bool,
    /// An ISO 8601 timestamp.
    pub created_at: String,
    /// An ISO 8601 timestamp.
    pub updated_at: String,
}