jira_api_v2/models/
project_insight.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/// ProjectInsight : Additional details about a project.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ProjectInsight {
17    /// Total issue count.
18    #[serde(rename = "totalIssueCount", skip_serializing_if = "Option::is_none")]
19    pub total_issue_count: Option<i64>,
20    /// The last issue update time.
21    #[serde(rename = "lastIssueUpdateTime", skip_serializing_if = "Option::is_none")]
22    pub last_issue_update_time: Option<String>,
23}
24
25impl ProjectInsight {
26    /// Additional details about a project.
27    pub fn new() -> ProjectInsight {
28        ProjectInsight {
29            total_issue_count: None,
30            last_issue_update_time: None,
31        }
32    }
33}
34