nominal-api 0.1239.0

API bindings for the Nominal platform
Documentation
#[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 BatchSearchChannelsEntry {
    #[builder(
        custom(type = super::super::super::compute::api::DataFrame, convert = Box::new)
    )]
    #[serde(rename = "scope")]
    scope: Box<super::super::super::compute::api::DataFrame>,
    #[builder(
        custom(type = super::super::super::compute::api::Context, convert = Box::new)
    )]
    #[serde(rename = "context")]
    context: Box<super::super::super::compute::api::Context>,
}
impl BatchSearchChannelsEntry {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        scope: super::super::super::compute::api::DataFrame,
        context: super::super::super::compute::api::Context,
    ) -> Self {
        Self::builder().scope(scope).context(context).build()
    }
    #[inline]
    pub fn scope(&self) -> &super::super::super::compute::api::DataFrame {
        &*self.scope
    }
    #[inline]
    pub fn context(&self) -> &super::super::super::compute::api::Context {
        &*self.context
    }
}