pub struct AggregateInstancesRequest {
pub query: Option<String>,
pub properties: Option<Vec<String>>,
pub limit: Option<i32>,
pub aggregates: Option<Vec<InstancesAggregate>>,
pub group_by: Option<Vec<String>>,
pub filter: Option<AdvancedFilter>,
pub instance_type: InstanceType,
pub view: TaggedViewReference,
}Expand description
Request for aggregating accross instances.
Fields§
§query: Option<String>Optional query string. The API will parse the query string, and use it to match the text properties on elements to use for the aggregate(s).
properties: Option<Vec<String>>Optional list of properties to apply the query to. If no properties are listed,
text fields are searched by default.
limit: Option<i32>Maximum number of results to return. The default is 100, maximum is 1000.
aggregates: Option<Vec<InstancesAggregate>>List of aggregates to calculate.
group_by: Option<Vec<String>>The selection of fields to group the results by when doing aggregations.
When you do not specify any aggregates. The fields in the groupBy clause will
return the unique values stored for each field.
filter: Option<AdvancedFilter>Optional filter on nodes or edges.
instance_type: InstanceTypeInstance type to aggregate accross.
view: TaggedViewReferenceReference to a view to query.
Trait Implementations§
Source§impl Clone for AggregateInstancesRequest
impl Clone for AggregateInstancesRequest
Source§fn clone(&self) -> AggregateInstancesRequest
fn clone(&self) -> AggregateInstancesRequest
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 AggregateInstancesRequest
impl Debug for AggregateInstancesRequest
Source§impl<'de> Deserialize<'de> for AggregateInstancesRequest
impl<'de> Deserialize<'de> for AggregateInstancesRequest
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 AggregateInstancesRequest
impl RefUnwindSafe for AggregateInstancesRequest
impl Send for AggregateInstancesRequest
impl Sync for AggregateInstancesRequest
impl Unpin for AggregateInstancesRequest
impl UnwindSafe for AggregateInstancesRequest
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