pub struct AssetQuery {
pub limit: Option<i32>,
pub cursor: Option<String>,
pub include_metadata: Option<bool>,
pub name: Option<String>,
pub source: Option<String>,
pub root: Option<bool>,
pub min_created_time: Option<i64>,
pub max_created_time: Option<i64>,
pub min_last_updated_time: Option<i64>,
pub max_last_updated_time: Option<i64>,
pub external_id_prefix: Option<String>,
pub partition: Option<Partition>,
}Expand description
Query parameters for filtering assets.
Fields§
§limit: Option<i32>Maximum number of results to return.
cursor: Option<String>Optional cursor for pagination.
include_metadata: Option<bool>Whether the metadata field should be returned or not.
name: Option<String>The name of the assets to include.
source: Option<String>The source of the assets to include.
root: Option<bool>Whether the filtered assets are root assets or not.
min_created_time: Option<i64>Min value of created_time, in milliseconds since epoch.
max_created_time: Option<i64>Max value of created_time, in milliseconds since epoch.
min_last_updated_time: Option<i64>Min value of last_updated_time, in milliseconds since epoch.
max_last_updated_time: Option<i64>Max value of last_updated_time, in milliseconds since epoch.
external_id_prefix: Option<String>Filter by this (case-sensitive) prefix for the external ID.
partition: Option<Partition>Split the data set into partitions.
Trait Implementations§
Source§impl Clone for AssetQuery
impl Clone for AssetQuery
Source§fn clone(&self) -> AssetQuery
fn clone(&self) -> AssetQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssetQuery
impl Debug for AssetQuery
Source§impl Default for AssetQuery
impl Default for AssetQuery
Source§fn default() -> AssetQuery
fn default() -> AssetQuery
Returns the “default value” for a type. Read more
Source§impl IntoParams for AssetQuery
impl IntoParams for AssetQuery
Source§impl List<AssetQuery, Asset> for AssetsResource
impl List<AssetQuery, Asset> for AssetsResource
Source§fn list(
&self,
params: Option<TParams>,
) -> impl Future<Output = Result<ItemsVec<TResponse, Cursor>>> + Send
fn list( &self, params: Option<TParams>, ) -> impl Future<Output = Result<ItemsVec<TResponse, Cursor>>> + Send
Query a resource with optional query parameters. Read more
Source§fn list_all(
&self,
params: TParams,
) -> impl Future<Output = Result<Vec<TResponse>>> + Send
fn list_all( &self, params: TParams, ) -> impl Future<Output = Result<Vec<TResponse>>> + Send
Query a resource with query parameters, continuing until the cursor is exhausted. Read more
Source§fn list_all_stream(
&self,
params: TParams,
) -> impl TryStream<Ok = TResponse, Error = Error, Item = Result<TResponse>> + Send
fn list_all_stream( &self, params: TParams, ) -> impl TryStream<Ok = TResponse, Error = Error, Item = Result<TResponse>> + Send
List resources, following cursors. This returns a stream, you can abort the stream whenever you
want and only resources retrieved up to that point will be returned. Read more
Source§impl SetCursor for AssetQuery
impl SetCursor for AssetQuery
Source§fn set_cursor(&mut self, cursor: Option<String>)
fn set_cursor(&mut self, cursor: Option<String>)
Set cursor to the given value.
Source§impl WithPartition for AssetQuery
impl WithPartition for AssetQuery
Source§fn with_partition(&self, partition: Partition) -> Self
fn with_partition(&self, partition: Partition) -> Self
Create a clone of self with given partition.
Auto Trait Implementations§
impl Freeze for AssetQuery
impl RefUnwindSafe for AssetQuery
impl Send for AssetQuery
impl Sync for AssetQuery
impl Unpin for AssetQuery
impl UnwindSafe for AssetQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more