pub struct AssetFilter {Show 13 fields
pub name: Option<String>,
pub parent_ids: Option<Vec<i64>>,
pub parent_external_ids: Option<Vec<String>>,
pub root_ids: Option<Vec<Identity>>,
pub asset_subtree_ids: Option<Vec<Identity>>,
pub data_set_ids: Option<Vec<Identity>>,
pub metadata: Option<HashMap<String, String>>,
pub source: Option<String>,
pub created_time: Option<Range<i64>>,
pub last_updated_time: Option<Range<i64>>,
pub external_id_prefix: Option<String>,
pub root: Option<bool>,
pub labels: Option<LabelsFilter>,
}Expand description
Simple filter on assets.
Fields§
§name: Option<String>The name of the asset.
parent_ids: Option<Vec<i64>>Return only direct descendants of the specified assets.
parent_external_ids: Option<Vec<String>>Return only direct descendants of the specified assets.
root_ids: Option<Vec<Identity>>DEPRECATED: Use asset_subtree_ids instead.
Only include these root assets and their descendants.
asset_subtree_ids: Option<Vec<Identity>>Only include assets in subtrees rooted at the specified assets (including the roots given). If the total size of the given subtrees exceeds 100,000 assets, an error will be returned.
data_set_ids: Option<Vec<Identity>>List of data set external or internal IDs that included assets will belong to.
metadata: Option<HashMap<String, String>>Filter on metadata keys and values.
source: Option<String>The source of the asset.
created_time: Option<Range<i64>>Range for the created_time field on included assets.
last_updated_time: Option<Range<i64>>Range for the last_updated_time field on included assets.
external_id_prefix: Option<String>Filter by this (case-sensitive) prefix for the asset external ID.
root: Option<bool>Whether the included assets are root assets or not.
labels: Option<LabelsFilter>Return only assets matching the given labels filter.
Implementations§
Source§impl AssetFilter
impl AssetFilter
Sourcepub fn new() -> AssetFilter
pub fn new() -> AssetFilter
Create an empty assets filter.
Trait Implementations§
Source§impl Clone for AssetFilter
impl Clone for AssetFilter
Source§fn clone(&self) -> AssetFilter
fn clone(&self) -> AssetFilter
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more