Struct google_analyticsdata1_beta::api::CohortsRange [−][src]
pub struct CohortsRange {
pub end_offset: Option<i32>,
pub granularity: Option<String>,
pub start_offset: Option<i32>,
}Expand description
Configures the extended reporting date range for a cohort report. Specifies an offset duration to follow the cohorts over.
This type is not used in any activity, and only used as part of another schema.
Fields
end_offset: Option<i32>Required. endOffset specifies the end date of the extended reporting date range for a cohort report. endOffset can be any positive integer but is commonly set to 5 to 10 so that reports contain data on the cohort for the next several granularity time periods. If granularity is DAILY, the endDate of the extended reporting date range is endDate of the cohort plus endOffset days. If granularity is WEEKLY, the endDate of the extended reporting date range is endDate of the cohort plus endOffset * 7 days. If granularity is MONTHLY, the endDate of the extended reporting date range is endDate of the cohort plus endOffset * 30 days.
granularity: Option<String>Required. The granularity used to interpret the startOffset and endOffset for the extended reporting date range for a cohort report.
start_offset: Option<i32>startOffset specifies the start date of the extended reporting date range for a cohort report. startOffset is commonly set to 0 so that reports contain data from the acquisition of the cohort forward. If granularity is DAILY, the startDate of the extended reporting date range is startDate of the cohort plus startOffset days. If granularity is WEEKLY, the startDate of the extended reporting date range is startDate of the cohort plus startOffset * 7 days. If granularity is MONTHLY, the startDate of the extended reporting date range is startDate of the cohort plus startOffset * 30 days.
Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for CohortsRange
impl Send for CohortsRange
impl Sync for CohortsRange
impl Unpin for CohortsRange
impl UnwindSafe for CohortsRange
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more