nominal_api/conjure/objects/scout/compute/api/
combine_assets_frame.rs1#[derive(
4 Debug,
5 Clone,
6 conjure_object::serde::Serialize,
7 conjure_object::serde::Deserialize,
8 PartialEq,
9 Eq,
10 PartialOrd,
11 Ord,
12 Hash
13)]
14#[serde(crate = "conjure_object::serde")]
15#[conjure_object::private::staged_builder::staged_builder]
16#[builder(crate = conjure_object::private::staged_builder, update, inline)]
17pub struct CombineAssetsFrame {
18 #[builder(default, set(item(type = super::Asset)))]
19 #[serde(
20 rename = "assets",
21 skip_serializing_if = "std::collections::BTreeSet::is_empty",
22 default
23 )]
24 assets: std::collections::BTreeSet<super::Asset>,
25}
26impl CombineAssetsFrame {
27 #[inline]
29 pub fn new() -> Self {
30 Self::builder().build()
31 }
32 #[inline]
34 pub fn assets(&self) -> &std::collections::BTreeSet<super::Asset> {
35 &self.assets
36 }
37}