pub enum AssetAggregateRequest {
Count(AssetAggregateCount),
CardinalityValues(AggregateWithProperty),
CardinalityProperties(AggregateWithPath),
UniqueValues(AggregateProperty),
UniqueProperties(AggregateWithPath),
}Expand description
Request for aggregates on assets.
Variants§
Count(AssetAggregateCount)
Count the number of assets matching filters.
CardinalityValues(AggregateWithProperty)
Compute the approximate number of unique values for the specified property.
CardinalityProperties(AggregateWithPath)
Compute the approximate number of unique metadata properties.
UniqueValues(AggregateProperty)
Get up to 1000 unique values for the specified property ordered by frequency. Note: when aggregating on metadata, a value may occur multiple times in one asset for different metadata keys. Each occurence is counted.
UniqueProperties(AggregateWithPath)
Get unique metadata keys in a given asset. Ordered by frequency.
Trait Implementations§
Source§impl Clone for AssetAggregateRequest
impl Clone for AssetAggregateRequest
Source§fn clone(&self) -> AssetAggregateRequest
fn clone(&self) -> AssetAggregateRequest
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 AssetAggregateRequest
impl Debug for AssetAggregateRequest
Source§impl<'de> Deserialize<'de> for AssetAggregateRequest
impl<'de> Deserialize<'de> for AssetAggregateRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AssetAggregateRequest
impl RefUnwindSafe for AssetAggregateRequest
impl Send for AssetAggregateRequest
impl Sync for AssetAggregateRequest
impl Unpin for AssetAggregateRequest
impl UnwindSafe for AssetAggregateRequest
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