Struct google_apigee1::api::GoogleCloudApigeeV1Metric
source · pub struct GoogleCloudApigeeV1Metric {
pub name: Option<String>,
pub values: Option<Vec<Value>>,
}
Expand description
Encapsulates the metric data point. For example: { "name": "sum(message_count)", "values" : [ { "timestamp": 1549004400000, "value": "39.0" }, { "timestamp" : 1548997200000, "value" : "0.0" } ] }
or { "name": "sum(message_count)", "values" : ["39.0"] }
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>
Metric name.
values: Option<Vec<Value>>
List of metric values. Possible value formats include: "values":["39.0"]
or "values":[ { "value": "39.0", "timestamp": 1232434354} ]
Trait Implementations§
source§impl Clone for GoogleCloudApigeeV1Metric
impl Clone for GoogleCloudApigeeV1Metric
source§fn clone(&self) -> GoogleCloudApigeeV1Metric
fn clone(&self) -> GoogleCloudApigeeV1Metric
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GoogleCloudApigeeV1Metric
impl Debug for GoogleCloudApigeeV1Metric
source§impl Default for GoogleCloudApigeeV1Metric
impl Default for GoogleCloudApigeeV1Metric
source§fn default() -> GoogleCloudApigeeV1Metric
fn default() -> GoogleCloudApigeeV1Metric
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudApigeeV1Metric
impl<'de> Deserialize<'de> for GoogleCloudApigeeV1Metric
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudApigeeV1Metric
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudApigeeV1Metric
impl Send for GoogleCloudApigeeV1Metric
impl Sync for GoogleCloudApigeeV1Metric
impl Unpin for GoogleCloudApigeeV1Metric
impl UnwindSafe for GoogleCloudApigeeV1Metric
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
Mutably borrows from an owned value. Read more