pub struct InsightsRow {
pub dimensions: HashMap<String, String>,
pub metrics: HashMap<String, MetricValue>,
}Expand description
A single row in an insights report.
Fields§
§dimensions: HashMap<String, String>Dimension values keyed by dimension name (e.g. {"age": "25-34"}).
metrics: HashMap<String, MetricValue>Metric values keyed by metric name (e.g. {"clicks": 42}).
Trait Implementations§
Source§impl Clone for InsightsRow
impl Clone for InsightsRow
Source§fn clone(&self) -> InsightsRow
fn clone(&self) -> InsightsRow
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 InsightsRow
impl Debug for InsightsRow
Source§impl<'de> Deserialize<'de> for InsightsRow
impl<'de> Deserialize<'de> for InsightsRow
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 Formattable for InsightsRow
impl Formattable for InsightsRow
Auto Trait Implementations§
impl Freeze for InsightsRow
impl RefUnwindSafe for InsightsRow
impl Send for InsightsRow
impl Sync for InsightsRow
impl Unpin for InsightsRow
impl UnsafeUnpin for InsightsRow
impl UnwindSafe for InsightsRow
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