pub struct PopularQueriesRequest {
pub order_by: ApiQueryOrderField,
pub query_indicator: Option<ApiQueryIndicator>,
pub device_type_indicator: Option<ApiDeviceTypeIndicator>,
pub date_from: Option<NaiveDate>,
pub date_to: Option<NaiveDate>,
pub offset: Option<i32>,
pub limit: Option<i32>,
}Expand description
Popular queries request parameters
Fields§
§order_by: ApiQueryOrderFieldIndicator for sorting requests (required)
query_indicator: Option<ApiQueryIndicator>Indicators for displaying requests
device_type_indicator: Option<ApiDeviceTypeIndicator>Device type indicator (default: ALL)
date_from: Option<NaiveDate>Start date of the range
date_to: Option<NaiveDate>End date of the range
offset: Option<i32>List offset (minimum: 0, default: 0)
limit: Option<i32>Page size (1-500, default: 500)
Implementations§
Source§impl PopularQueriesRequest
impl PopularQueriesRequest
Sourcepub fn builder() -> PopularQueriesRequestBuilder<((), (), (), (), (), (), ())>
pub fn builder() -> PopularQueriesRequestBuilder<((), (), (), (), (), (), ())>
Create a builder for building PopularQueriesRequest.
On the builder, call .order_by(...), .query_indicator(...)(optional), .device_type_indicator(...)(optional), .date_from(...)(optional), .date_to(...)(optional), .offset(...)(optional), .limit(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of PopularQueriesRequest.
Trait Implementations§
Source§impl Clone for PopularQueriesRequest
impl Clone for PopularQueriesRequest
Source§fn clone(&self) -> PopularQueriesRequest
fn clone(&self) -> PopularQueriesRequest
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PopularQueriesRequest
impl Debug for PopularQueriesRequest
Source§impl<'de> Deserialize<'de> for PopularQueriesRequest
impl<'de> Deserialize<'de> for PopularQueriesRequest
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
Source§impl PartialEq for PopularQueriesRequest
impl PartialEq for PopularQueriesRequest
Source§impl Serialize for PopularQueriesRequest
impl Serialize for PopularQueriesRequest
impl Eq for PopularQueriesRequest
impl StructuralPartialEq for PopularQueriesRequest
Auto Trait Implementations§
impl Freeze for PopularQueriesRequest
impl RefUnwindSafe for PopularQueriesRequest
impl Send for PopularQueriesRequest
impl Sync for PopularQueriesRequest
impl Unpin for PopularQueriesRequest
impl UnwindSafe for PopularQueriesRequest
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.