nominal-api 0.1240.0

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 ProcedureSettingsV1 {
    #[builder(
        default,
        list(item(type = super::super::super::super::api::rids::ProcedureRid))
    )]
    #[serde(
        rename = "workspaceProcedures",
        skip_serializing_if = "Vec::is_empty",
        default
    )]
    workspace_procedures: Vec<super::super::super::super::api::rids::ProcedureRid>,
}
impl ProcedureSettingsV1 {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    /// A list of procedures that are elevated to the workspace-level.
    /// They will be available for execution in a top-level context, rather
    /// than just from the procedure details page.
    #[inline]
    pub fn workspace_procedures(
        &self,
    ) -> &[super::super::super::super::api::rids::ProcedureRid] {
        &*self.workspace_procedures
    }
}