jira_api_v2/models/
project_role_user.rs

1/*
2 * The Jira Cloud platform REST API
3 *
4 * Jira Cloud platform REST API documentation
5 *
6 * The version of the OpenAPI document: 1001.0.0-SNAPSHOT
7 * Contact: ecosystem@atlassian.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// ProjectRoleUser : Details of the user associated with the role.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ProjectRoleUser {
17    /// The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. Returns *unknown* if the record is deleted and corrupted, for example, as the result of a server import.
18    #[serde(rename = "accountId", skip_serializing_if = "Option::is_none")]
19    pub account_id: Option<String>,
20}
21
22impl ProjectRoleUser {
23    /// Details of the user associated with the role.
24    pub fn new() -> ProjectRoleUser {
25        ProjectRoleUser {
26            account_id: None,
27        }
28    }
29}
30