jira_api_v2/models/
jira_expression_evaluation_meta_data_bean.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#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct JiraExpressionEvaluationMetaDataBean {
16    /// Contains information about the expression complexity. For example, the number of steps it took to evaluate the expression.
17    #[serde(rename = "complexity", skip_serializing_if = "Option::is_none")]
18    pub complexity: Option<Box<models::JiraExpressionsComplexityBean>>,
19    /// Contains information about the `issues` variable in the context. For example, is the issues were loaded with JQL, information about the page will be included here.
20    #[serde(rename = "issues", skip_serializing_if = "Option::is_none")]
21    pub issues: Option<Box<models::IssuesMetaBean>>,
22}
23
24impl JiraExpressionEvaluationMetaDataBean {
25    pub fn new() -> JiraExpressionEvaluationMetaDataBean {
26        JiraExpressionEvaluationMetaDataBean {
27            complexity: None,
28            issues: None,
29        }
30    }
31}
32