#[derive(
Debug,
Clone,
conjure_object::serde::Serialize,
conjure_object::serde::Deserialize,
conjure_object::private::DeriveWith
)]
#[serde(crate = "conjure_object::serde")]
#[derive_with(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct ComparisonWorkbookContent {
#[builder(default)]
#[serde(
rename = "channelVariables",
skip_serializing_if = "std::collections::BTreeMap::is_empty",
default
)]
channel_variables: super::ComparisonChannelVariableMap,
#[builder(default)]
#[serde(
rename = "charts",
skip_serializing_if = "std::collections::BTreeMap::is_empty",
default
)]
charts: super::ComparisonVizDefinitionMap,
}
impl ComparisonWorkbookContent {
#[inline]
pub fn new() -> Self {
Self::builder().build()
}
#[inline]
pub fn channel_variables(&self) -> &super::ComparisonChannelVariableMap {
&self.channel_variables
}
#[inline]
pub fn charts(&self) -> &super::ComparisonVizDefinitionMap {
&self.charts
}
}