workos 1.0.0

Official Rust SDK for the WorkOS API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// The resource the role is assigned on.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct UserRoleAssignmentResource {
    /// The unique ID of the Resource.
    pub id: String,
    /// An identifier you provide to reference the resource in your system.
    pub external_id: String,
    /// The slug of the resource type this resource belongs to.
    pub resource_type_slug: String,
}