geoengine_api_client/models/
wrapped_plot_output.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct WrappedPlotOutput {
16 #[serde(rename = "data")]
17 pub data: serde_json::Value,
18 #[serde(rename = "outputFormat")]
19 pub output_format: models::PlotOutputFormat,
20 #[serde(rename = "plotType")]
21 pub plot_type: String,
22}
23
24impl WrappedPlotOutput {
25 pub fn new(data: serde_json::Value, output_format: models::PlotOutputFormat, plot_type: String) -> WrappedPlotOutput {
26 WrappedPlotOutput {
27 data,
28 output_format,
29 plot_type,
30 }
31 }
32}
33