Skip to main content

opensearch_client/core/search/
fetch_profile_debug.rs

1/*
2 * opensearch-client
3 *
4 * Rust Client for OpenSearch
5 *
6 * The version of the OpenAPI document: 3.1.0
7 * Contact: alberto.paro@gmail.com
8 * Generated by Paro OpenAPI Generator
9 */
10
11use serde::{Deserialize, Serialize};
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct FetchProfileDebug {
15    #[serde(rename = "fast_path", default, skip_serializing_if = "Option::is_none")]
16    pub fast_path: Option<u32>,
17    #[serde(
18        rename = "stored_fields",
19        default,
20        skip_serializing_if = "Option::is_none"
21    )]
22    pub stored_fields: Option<Vec<String>>,
23}
24
25impl FetchProfileDebug {
26    pub fn new() -> FetchProfileDebug {
27        FetchProfileDebug {
28            fast_path: None,
29            stored_fields: None,
30        }
31    }
32}