/*
* opensearch-client
*
* Rust Client for OpenSearch
*
* The version of the OpenAPI document: 3.1.0
* Contact: alberto.paro@gmail.com
* Generated by Paro OpenAPI Generator
*/
use crate::common;
use serde::{Deserialize, Serialize};
/// SourceConfigParam
/// Defines how to fetch a source. Fetching can be disabled entirely, or the source can be filtered.
/// Use this setting with the `source_includes` and `source_excludes` parameters.
#[derive(Clone, Debug, Serialize, Deserialize)]
#[serde(untagged)]
pub enum SourceConfigParam {
FetchValue(bool),
Fields(common::Fields),
}