pub enum AssetAggregateResponse {
Strings {
count: i64,
values: Vec<String>,
},
Integers {
count: i64,
values: Vec<i64>,
},
Properties {
count: i64,
values: Vec<AggregatedProperty>,
},
Count {
count: i64,
},
}Expand description
Response for an asset aggregation request. The type of result depends on the requested aggregate.
Variants§
Strings
Aggregate with a list of string values
Fields
Integers
Aggregate with a list of integer values.
Fields
Properties
A bucket representing the result of the UniqueProperties aggregate.
Fields
§
values: Vec<AggregatedProperty>An array of unique properties.
Count
Aggregate returned when only a simple count is requested.
Trait Implementations§
Source§impl Clone for AssetAggregateResponse
impl Clone for AssetAggregateResponse
Source§fn clone(&self) -> AssetAggregateResponse
fn clone(&self) -> AssetAggregateResponse
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 AssetAggregateResponse
impl Debug for AssetAggregateResponse
Source§impl<'de> Deserialize<'de> for AssetAggregateResponse
impl<'de> Deserialize<'de> for AssetAggregateResponse
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 AssetAggregateResponse
impl RefUnwindSafe for AssetAggregateResponse
impl Send for AssetAggregateResponse
impl Sync for AssetAggregateResponse
impl Unpin for AssetAggregateResponse
impl UnwindSafe for AssetAggregateResponse
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