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 UserRoleAssignment {
    /// Distinguishes the role assignment object.
    pub object: String,
    /// Unique identifier of the role assignment.
    pub id: String,
    /// The ID of the organization membership the role is assigned to.
    pub organization_membership_id: String,
    /// The role included in the assignment.
    pub role: SlimRole,
    /// The resource the role is assigned on.
    pub resource: UserRoleAssignmentResource,
    /// An ISO 8601 timestamp.
    pub created_at: String,
    /// An ISO 8601 timestamp.
    pub updated_at: String,
}