nominal-api 0.1239.0

API bindings for the Nominal platform
Documentation
/// Search assets. Each match expands to one grouping per data scope on that asset.
#[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 AssetsSearchTarget {
    #[builder(custom(type = super::ResourceSearchQuery, convert = Box::new))]
    #[serde(rename = "query")]
    query: Box<super::ResourceSearchQuery>,
}
impl AssetsSearchTarget {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(query: super::ResourceSearchQuery) -> Self {
        Self::builder().query(query).build()
    }
    /// Predicate tree used to filter matching assets.
    #[inline]
    pub fn query(&self) -> &super::ResourceSearchQuery {
        &*self.query
    }
}