pub struct PostInsightsOptions {
pub metrics: Option<Vec<PostInsightMetric>>,
pub period: Option<InsightPeriod>,
pub since: Option<DateTime<Utc>>,
pub until: Option<DateTime<Utc>>,
}Expand description
Options for post insights requests.
Fields§
§metrics: Option<Vec<PostInsightMetric>>Metrics to retrieve.
period: Option<InsightPeriod>Time period granularity.
since: Option<DateTime<Utc>>Start of the time range.
until: Option<DateTime<Utc>>End of the time range.
Trait Implementations§
Source§impl Clone for PostInsightsOptions
impl Clone for PostInsightsOptions
Source§fn clone(&self) -> PostInsightsOptions
fn clone(&self) -> PostInsightsOptions
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 PostInsightsOptions
impl Debug for PostInsightsOptions
Source§impl Default for PostInsightsOptions
impl Default for PostInsightsOptions
Source§fn default() -> PostInsightsOptions
fn default() -> PostInsightsOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostInsightsOptions
impl<'de> Deserialize<'de> for PostInsightsOptions
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 PostInsightsOptions
impl RefUnwindSafe for PostInsightsOptions
impl Send for PostInsightsOptions
impl Sync for PostInsightsOptions
impl Unpin for PostInsightsOptions
impl UnsafeUnpin for PostInsightsOptions
impl UnwindSafe for PostInsightsOptions
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