Struct google_cloudmonitoring2_beta2::Point
[−]
[src]
pub struct Point { pub start: Option<String>, pub bool_value: Option<bool>, pub end: Option<String>, pub distribution_value: Option<PointDistribution>, pub string_value: Option<String>, pub int64_value: Option<String>, pub double_value: Option<f64>, }
Point is a single point in a time series. It consists of a start time, an end time, and a value.
This type is not used in any activity, and only used as part of another schema.
Fields
start: Option<String>
The interval [start, end] is the time period to which the point's value applies. For gauge metrics, whose values are instantaneous measurements, this interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be non-empty. Both start and end are RFC 3339 strings.
bool_value: Option<bool>
The value of this data point. Either "true" or "false".
end: Option<String>
The interval [start, end] is the time period to which the point's value applies. For gauge metrics, whose values are instantaneous measurements, this interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be non-empty. Both start and end are RFC 3339 strings.
distribution_value: Option<PointDistribution>
The value of this data point as a distribution. A distribution value can contain a list of buckets and/or an underflowBucket and an overflowBucket. The values of these points can be used to create a histogram.
string_value: Option<String>
The value of this data point in string format.
int64_value: Option<String>
The value of this data point as a 64-bit integer.
double_value: Option<f64>
The value of this data point as a double-precision floating-point number.
Trait Implementations
impl Debug for Point
[src]
impl Clone for Point
[src]
fn clone(&self) -> Point
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more