nominal-api 0.1239.0

API bindings for the Nominal platform
Documentation
/// Selects a specific series from a data frame (might contain multiple tag groupings).
#[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 SelectSeries {
    #[builder(custom(type = super::DataFrame, convert = Box::new))]
    #[serde(rename = "dataFrame")]
    data_frame: Box<super::DataFrame>,
    #[builder(custom(type = super::StringConstant, convert = Box::new))]
    #[serde(rename = "name")]
    name: Box<super::StringConstant>,
}
impl SelectSeries {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(data_frame: super::DataFrame, name: super::StringConstant) -> Self {
        Self::builder().data_frame(data_frame).name(name).build()
    }
    /// The data frame providing the data to query
    #[inline]
    pub fn data_frame(&self) -> &super::DataFrame {
        &*self.data_frame
    }
    /// The identifying series name to query
    #[inline]
    pub fn name(&self) -> &super::StringConstant {
        &*self.name
    }
}