#[derive(
Debug,
Clone,
conjure_object::serde::Serialize,
conjure_object::serde::Deserialize,
PartialEq,
Eq,
PartialOrd,
Ord,
Hash,
Copy
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct AppendOnlyConfig {
#[serde(rename = "decimateResults")]
decimate_results: bool,
}
impl AppendOnlyConfig {
#[inline]
pub fn new(decimate_results: bool) -> Self {
Self::builder().decimate_results(decimate_results).build()
}
#[inline]
pub fn decimate_results(&self) -> bool {
self.decimate_results
}
}