pub struct InsightsQuery {
pub days: Option<u32>,
}Expand description
GET /v1/insights query parameters.
Fields§
§days: Option<u32>Days of history to read; default INSIGHT_DAYS, at most INSIGHT_DAYS_MAX.
Trait Implementations§
Source§impl Clone for InsightsQuery
impl Clone for InsightsQuery
Source§impl Debug for InsightsQuery
impl Debug for InsightsQuery
Source§impl Default for InsightsQuery
impl Default for InsightsQuery
Source§impl<'de> Deserialize<'de> for InsightsQuery
impl<'de> Deserialize<'de> for InsightsQuery
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
impl Eq for InsightsQuery
Source§impl PartialEq for InsightsQuery
impl PartialEq for InsightsQuery
Source§impl Serialize for InsightsQuery
impl Serialize for InsightsQuery
impl StructuralPartialEq for InsightsQuery
Auto Trait Implementations§
impl Freeze for InsightsQuery
impl RefUnwindSafe for InsightsQuery
impl Send for InsightsQuery
impl Sync for InsightsQuery
impl Unpin for InsightsQuery
impl UnsafeUnpin for InsightsQuery
impl UnwindSafe for InsightsQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.