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};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct RemoveRole {
    /// The slug of the role to remove.
    pub role_slug: String,
    /// The ID of the resource. Mutually exclusive with `resource_external_id` and `resource_type_slug`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub resource_id: Option<String>,
    /// The external ID of the resource. Required with `resource_type_slug`. Mutually exclusive with `resource_id`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub resource_external_id: Option<String>,
    /// The resource type slug. Required with `resource_external_id`. Mutually exclusive with `resource_id`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub resource_type_slug: Option<String>,
}