#[derive(
Debug,
Clone,
conjure_object::serde::Serialize,
conjure_object::serde::Deserialize,
PartialEq,
Eq,
PartialOrd,
Ord,
Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct BucketedNumericArrayPlot {
#[builder(into)]
#[serde(rename = "arrowBinary")]
arrow_binary: conjure_object::Bytes,
#[builder(default, into)]
#[serde(rename = "groupByKeys", skip_serializing_if = "Option::is_none", default)]
group_by_keys: Option<Vec<String>>,
}
impl BucketedNumericArrayPlot {
#[inline]
pub fn new(arrow_binary: impl Into<conjure_object::Bytes>) -> Self {
Self::builder().arrow_binary(arrow_binary).build()
}
#[inline]
pub fn arrow_binary(&self) -> &conjure_object::Bytes {
&self.arrow_binary
}
#[inline]
pub fn group_by_keys(&self) -> Option<&[String]> {
self.group_by_keys.as_ref().map(|o| &**o)
}
}