pub struct PageAnalyticsMetrics {
pub average_seconds_viewed: i64,
pub date: NaiveDate,
pub median_seconds_viewed: i64,
pub sessions: i64,
pub tabs: i64,
pub users: i64,
pub views: i64,
}
Expand description
Analytics metrics for a page within a Coda doc.
JSON schema
{
"description": "Analytics metrics for a page within a Coda doc.",
"type": "object",
"required": [
"averageSecondsViewed",
"date",
"medianSecondsViewed",
"sessions",
"tabs",
"users",
"views"
],
"properties": {
"averageSecondsViewed": {
"description": "Average number of seconds that the page was viewed
on the given day.",
"examples": [
42
],
"type": "integer"
},
"date": {
"description": "Date of the analytics data.",
"examples": [
"2022-06-03"
],
"type": "string",
"format": "date"
},
"medianSecondsViewed": {
"description": "Median number of seconds that the page was viewed
on the given day.",
"examples": [
42
],
"type": "integer"
},
"sessions": {
"description": "Number of unique browsers that viewed the page on
the given day.",
"examples": [
24
],
"type": "integer"
},
"tabs": {
"description": "Number of unique tabs that opened the doc on the
given day.",
"examples": [
10
],
"type": "integer"
},
"users": {
"description": "Number of unique Coda users that viewed the page on
the given day.",
"examples": [
42
],
"type": "integer"
},
"views": {
"description": "Number of times the page was viewed within the
given day.",
"examples": [
980
],
"type": "integer"
}
},
"additionalProperties": false,
"x-schema-name": "PageAnalyticsMetrics"
}
Fields§
§average_seconds_viewed: i64
Average number of seconds that the page was viewed on the given day.
date: NaiveDate
Date of the analytics data.
median_seconds_viewed: i64
Median number of seconds that the page was viewed on the given day.
sessions: i64
Number of unique browsers that viewed the page on the given day.
tabs: i64
Number of unique tabs that opened the doc on the given day.
users: i64
Number of unique Coda users that viewed the page on the given day.
views: i64
Number of times the page was viewed within the given day.
Trait Implementations§
Source§impl Clone for PageAnalyticsMetrics
impl Clone for PageAnalyticsMetrics
Source§fn clone(&self) -> PageAnalyticsMetrics
fn clone(&self) -> PageAnalyticsMetrics
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 PageAnalyticsMetrics
impl Debug for PageAnalyticsMetrics
Source§impl<'de> Deserialize<'de> for PageAnalyticsMetrics
impl<'de> Deserialize<'de> for PageAnalyticsMetrics
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 From<&PageAnalyticsMetrics> for PageAnalyticsMetrics
impl From<&PageAnalyticsMetrics> for PageAnalyticsMetrics
Source§fn from(value: &PageAnalyticsMetrics) -> Self
fn from(value: &PageAnalyticsMetrics) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PageAnalyticsMetrics
impl RefUnwindSafe for PageAnalyticsMetrics
impl Send for PageAnalyticsMetrics
impl Sync for PageAnalyticsMetrics
impl Unpin for PageAnalyticsMetrics
impl UnwindSafe for PageAnalyticsMetrics
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