#[non_exhaustive]pub struct AnalyticsQueryRequest {
pub metrics: Vec<String>,
pub dimensions: Option<Vec<String>>,
pub filters: Option<Vec<AnalyticsFilter>>,
pub granularity: Option<String>,
pub group_limit: Option<u32>,
pub limit: Option<u32>,
pub order_by: Option<AnalyticsOrderBy>,
pub time_range: Option<AnalyticsTimeRange>,
}Expand description
Request payload for POST /analytics/query.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.metrics: Vec<String>§dimensions: Option<Vec<String>>§filters: Option<Vec<AnalyticsFilter>>§granularity: Option<String>§group_limit: Option<u32>§limit: Option<u32>§order_by: Option<AnalyticsOrderBy>§time_range: Option<AnalyticsTimeRange>Implementations§
Source§impl AnalyticsQueryRequest
impl AnalyticsQueryRequest
pub fn builder() -> AnalyticsQueryRequestBuilder
Trait Implementations§
Source§impl Clone for AnalyticsQueryRequest
impl Clone for AnalyticsQueryRequest
Source§fn clone(&self) -> AnalyticsQueryRequest
fn clone(&self) -> AnalyticsQueryRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AnalyticsQueryRequest
impl Debug for AnalyticsQueryRequest
Source§impl<'de> Deserialize<'de> for AnalyticsQueryRequest
impl<'de> Deserialize<'de> for AnalyticsQueryRequest
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 AnalyticsQueryRequest
impl RefUnwindSafe for AnalyticsQueryRequest
impl Send for AnalyticsQueryRequest
impl Sync for AnalyticsQueryRequest
impl Unpin for AnalyticsQueryRequest
impl UnsafeUnpin for AnalyticsQueryRequest
impl UnwindSafe for AnalyticsQueryRequest
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