jira_api_v2/models/
issue_matches.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/// IssueMatches : A list of matched issues or errors for each JQL query, in the order the JQL queries were passed.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct IssueMatches {
17    #[serde(rename = "matches")]
18    pub matches: Vec<models::IssueMatchesForJql>,
19}
20
21impl IssueMatches {
22    /// A list of matched issues or errors for each JQL query, in the order the JQL queries were passed.
23    pub fn new(matches: Vec<models::IssueMatchesForJql>) -> IssueMatches {
24        IssueMatches {
25            matches,
26        }
27    }
28}
29