pub struct FileFilter {Show 17 fields
pub name: Option<String>,
pub directory_prefix: Option<String>,
pub mime_type: Option<String>,
pub asset_ids: Option<Vec<u64>>,
pub asset_external_ids: Option<Vec<String>>,
pub root_asset_ids: Option<Vec<Identity>>,
pub data_set_ids: Option<Vec<Identity>>,
pub asset_subtree_ids: Option<Vec<Identity>>,
pub source: Option<String>,
pub created_time: Option<Range<i64>>,
pub last_updated_time: Option<Range<i64>>,
pub uploaded_time: Option<Range<i64>>,
pub source_created_time: Option<Range<i64>>,
pub source_modified_time: Option<Range<i64>>,
pub external_id_prefix: Option<String>,
pub uploaded: Option<bool>,
pub labels: Option<LabelsFilter>,
}Expand description
Filter on files.
Fields§
§name: Option<String>Name of files to include.
directory_prefix: Option<String>Filter on this (case-sensitive) prefix for the directory.
mime_type: Option<String>Mime type of files to include.
asset_ids: Option<Vec<u64>>Include files belonging to one of these assets.
asset_external_ids: Option<Vec<String>>Include files belonging to one of these assets.
root_asset_ids: Option<Vec<Identity>>Include files belonging to assets that are in the tree of one of these root assets.
data_set_ids: Option<Vec<Identity>>Include files that belong to one of these data sets.
asset_subtree_ids: Option<Vec<Identity>>Include files belonging to assets that are in the subtree of one of these assets.
source: Option<String>Source of asset.
created_time: Option<Range<i64>>Range of timestamps for created_time.
last_updated_time: Option<Range<i64>>Range of timestamps for last_updated_time.
uploaded_time: Option<Range<i64>>Range of timestamps for uploaded_time.
source_created_time: Option<Range<i64>>Range of timestamps for source_created_time.
source_modified_time: Option<Range<i64>>Range of timestamps for source_modified_time.
external_id_prefix: Option<String>Filter by this (case-sensitive) prefix for the external ID.
uploaded: Option<bool>Filter on files that are uploaded or not uploaded.
labels: Option<LabelsFilter>Filter on files matching the given label filter.
Implementations§
Source§impl FileFilter
impl FileFilter
Sourcepub fn new() -> FileFilter
pub fn new() -> FileFilter
Create a new empty file filter.
Trait Implementations§
Source§impl Clone for FileFilter
impl Clone for FileFilter
Source§fn clone(&self) -> FileFilter
fn clone(&self) -> FileFilter
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more