pub struct MinuteRange {
pub end_minutes_ago: Option<i32>,
pub name: Option<String>,
pub start_minutes_ago: Option<i32>,
}
Expand description
A contiguous set of minutes: startMinutesAgo
, startMinutesAgo + 1
, …, endMinutesAgo
. Requests are allowed up to 2 minute ranges.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_minutes_ago: Option<i32>
The inclusive end minute for the query as a number of minutes before now. Cannot be before startMinutesAgo
. For example, "endMinutesAgo": 15
specifies the report should include event data from prior to 15 minutes ago. If unspecified, endMinutesAgo
is defaulted to 0. Standard Analytics properties can request any minute in the last 30 minutes of event data (endMinutesAgo <= 29
), and 360 Analytics properties can request any minute in the last 60 minutes of event data (endMinutesAgo <= 59
).
name: Option<String>
Assigns a name to this minute range. The dimension dateRange
is valued to this name in a report response. If set, cannot begin with date_range_
or RESERVED_
. If not set, minute ranges are named by their zero based index in the request: date_range_0
, date_range_1
, etc.
start_minutes_ago: Option<i32>
The inclusive start minute for the query as a number of minutes before now. For example, "startMinutesAgo": 29
specifies the report should include event data from 29 minutes ago and after. Cannot be after endMinutesAgo
. If unspecified, startMinutesAgo
is defaulted to 29. Standard Analytics properties can request up to the last 30 minutes of event data (startMinutesAgo <= 29
), and 360 Analytics properties can request up to the last 60 minutes of event data (startMinutesAgo <= 59
).
Trait Implementations§
Source§impl Clone for MinuteRange
impl Clone for MinuteRange
Source§fn clone(&self) -> MinuteRange
fn clone(&self) -> MinuteRange
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MinuteRange
impl Debug for MinuteRange
Source§impl Default for MinuteRange
impl Default for MinuteRange
Source§fn default() -> MinuteRange
fn default() -> MinuteRange
Source§impl<'de> Deserialize<'de> for MinuteRange
impl<'de> Deserialize<'de> for MinuteRange
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>,
Source§impl Serialize for MinuteRange
impl Serialize for MinuteRange
impl Part for MinuteRange
Auto Trait Implementations§
impl Freeze for MinuteRange
impl RefUnwindSafe for MinuteRange
impl Send for MinuteRange
impl Sync for MinuteRange
impl Unpin for MinuteRange
impl UnwindSafe for MinuteRange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more