pub struct Insight {
pub name: String,
pub period: String,
pub values: Vec<Value>,
pub title: Option<String>,
pub description: Option<String>,
pub id: Option<String>,
pub total_value: Option<TotalValue>,
pub link_total_values: Option<Vec<LinkTotalValue>>,
pub demographic_total_value: Option<DemographicTotalValue>,
}Expand description
An individual analytics metric.
Fields§
§name: StringMetric name.
period: StringTime period of the metric.
values: Vec<Value>Time-series values.
title: Option<String>Human-readable title.
description: Option<String>Human-readable description.
id: Option<String>Insight ID.
total_value: Option<TotalValue>Aggregated total value.
link_total_values: Option<Vec<LinkTotalValue>>Per-link metric values (returned by the clicks account metric).
demographic_total_value: Option<DemographicTotalValue>Follower demographics total value with breakdowns.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Insight
impl<'de> Deserialize<'de> for Insight
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 Insight
impl RefUnwindSafe for Insight
impl Send for Insight
impl Sync for Insight
impl Unpin for Insight
impl UnsafeUnpin for Insight
impl UnwindSafe for Insight
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