Struct google_servicecontrol1::MetricValue [−][src]
pub struct MetricValue { pub money_value: Option<Money>, pub labels: Option<HashMap<String, String>>, pub double_value: Option<f64>, pub bool_value: Option<bool>, pub start_time: Option<String>, pub distribution_value: Option<Distribution>, pub string_value: Option<String>, pub int64_value: Option<String>, pub end_time: Option<String>, }
Represents a single metric value.
This type is not used in any activity, and only used as part of another schema.
Fields
money_value: Option<Money>
A money value.
labels: Option<HashMap<String, String>>
The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship.
double_value: Option<f64>
A double precision floating point value.
bool_value: Option<bool>
A boolean value.
start_time: Option<String>
The start of the time period over which this metric value's measurement applies. The time period has different semantics for different metric types (cumulative, delta, and gauge). See the metric definition documentation in the service configuration for details.
distribution_value: Option<Distribution>
A distribution value.
string_value: Option<String>
A text string value.
int64_value: Option<String>
A signed 64-bit integer value.
end_time: Option<String>
The end of the time period over which this metric value's measurement applies.
Trait Implementations
impl Default for MetricValue
[src]
impl Default for MetricValue
fn default() -> MetricValue
[src]
fn default() -> MetricValue
Returns the "default value" for a type. Read more
impl Clone for MetricValue
[src]
impl Clone for MetricValue
fn clone(&self) -> MetricValue
[src]
fn clone(&self) -> MetricValue
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for MetricValue
[src]
impl Debug for MetricValue
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for MetricValue
[src]
impl Part for MetricValue
Auto Trait Implementations
impl Send for MetricValue
impl Send for MetricValue
impl Sync for MetricValue
impl Sync for MetricValue