nominal-api 0.1239.0

API bindings for the Nominal platform
Documentation
/// Combines explicit assets into one frame. Each asset expands to one tagged grouping per data scope on that
/// asset, with the same per-grouping tags as asset-target SearchFrame (assetRid, dataScope).
#[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 CombineAssetsFrame {
    #[builder(default, set(item(type = super::Asset)))]
    #[serde(
        rename = "assets",
        skip_serializing_if = "std::collections::BTreeSet::is_empty",
        default
    )]
    assets: std::collections::BTreeSet<super::Asset>,
}
impl CombineAssetsFrame {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
    /// Explicit assets to combine into a single frame.
    #[inline]
    pub fn assets(&self) -> &std::collections::BTreeSet<super::Asset> {
        &self.assets
    }
}