pub struct GoogleCloudApigeeV1QueryMetric {
pub alias: Option<String>,
pub function: Option<String>,
pub name: Option<String>,
pub operator: Option<String>,
pub value: Option<String>,
}Expand description
More info about Metric: https://docs.apigee.com/api-platform/analytics/analytics-reference#metrics
This type is not used in any activity, and only used as part of another schema.
Fields§
§alias: Option<String>Alias for the metric. Alias will be used to replace metric name in query results.
function: Option<String>Aggregation function: avg, min, max, or sum.
name: Option<String>Required. Metric name.
operator: Option<String>One of +, -, /, %, *.
value: Option<String>Operand value should be provided when operator is set.
Trait Implementations§
Source§impl Clone for GoogleCloudApigeeV1QueryMetric
impl Clone for GoogleCloudApigeeV1QueryMetric
Source§fn clone(&self) -> GoogleCloudApigeeV1QueryMetric
fn clone(&self) -> GoogleCloudApigeeV1QueryMetric
Returns a duplicate 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 Default for GoogleCloudApigeeV1QueryMetric
impl Default for GoogleCloudApigeeV1QueryMetric
Source§fn default() -> GoogleCloudApigeeV1QueryMetric
fn default() -> GoogleCloudApigeeV1QueryMetric
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudApigeeV1QueryMetric
impl<'de> Deserialize<'de> for GoogleCloudApigeeV1QueryMetric
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 GoogleCloudApigeeV1QueryMetric
Auto Trait Implementations§
impl Freeze for GoogleCloudApigeeV1QueryMetric
impl RefUnwindSafe for GoogleCloudApigeeV1QueryMetric
impl Send for GoogleCloudApigeeV1QueryMetric
impl Sync for GoogleCloudApigeeV1QueryMetric
impl Unpin for GoogleCloudApigeeV1QueryMetric
impl UnwindSafe for GoogleCloudApigeeV1QueryMetric
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