Enum googapis::google::api::servicecontrol::v1::metric_value::Value [−][src]
pub enum Value {
BoolValue(bool),
Int64Value(i64),
DoubleValue(f64),
StringValue(String),
DistributionValue(Distribution),
}
Expand description
The value. The type of value used in the request must agree with the metric definition in the service configuration, otherwise the MetricValue is rejected.
Variants
BoolValue(bool)
A boolean value.
Tuple Fields of BoolValue
0: bool
Int64Value(i64)
A signed 64-bit integer value.
Tuple Fields of Int64Value
0: i64
DoubleValue(f64)
A double precision floating point value.
Tuple Fields of DoubleValue
0: f64
StringValue(String)
A text string value.
Tuple Fields of StringValue
0: String
DistributionValue(Distribution)
A distribution value.
Tuple Fields of DistributionValue
0: Distribution
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more