1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::model::user_defined_function_resource::UserDefinedFunctionResource;
use serde::{Deserialize, Serialize};
#[derive(Debug, Default, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ViewDefinition {
pub query: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub use_legacy_sql: Option<bool>,
#[serde(skip_serializing_if = "Option::is_none")]
pub user_defined_function_resources: Option<Vec<UserDefinedFunctionResource>>,
}