#[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 WorkbookLayoutV1 {
#[builder(custom(type = super::Panel, convert = Box::new))]
#[serde(rename = "rootPanel")]
root_panel: Box<super::Panel>,
}
impl WorkbookLayoutV1 {
#[inline]
pub fn new(root_panel: super::Panel) -> Self {
Self::builder().root_panel(root_panel).build()
}
#[inline]
pub fn root_panel(&self) -> &super::Panel {
&*self.root_panel
}
}