nominal-api-conjure 0.1443.1

Conjure HTTP API bindings for the Nominal platform
Documentation
#[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 EmptyPanelV1 {
    #[serde(rename = "id")]
    id: super::PanelId,
    #[builder(default, into)]
    #[serde(rename = "hideLabel", skip_serializing_if = "Option::is_none", default)]
    hide_label: Option<bool>,
}
impl EmptyPanelV1 {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(id: super::PanelId) -> Self {
        Self::builder().id(id).build()
    }
    #[inline]
    pub fn id(&self) -> &super::PanelId {
        &self.id
    }
    /// When omitted, treat as false.
    #[inline]
    pub fn hide_label(&self) -> Option<bool> {
        self.hide_label.as_ref().map(|o| *o)
    }
}