Struct google_mybusiness4::api::MetricRequest
source · pub struct MetricRequest {
pub metric: Option<String>,
pub options: Option<Vec<String>>,
}
Expand description
A request to return values for one metric and the options for how those values should be returned.
This type is not used in any activity, and only used as part of another schema.
Fields§
§metric: Option<String>
The requested metric.
options: Option<Vec<String>>
How the values should appear when returned.
Trait Implementations§
source§impl Clone for MetricRequest
impl Clone for MetricRequest
source§fn clone(&self) -> MetricRequest
fn clone(&self) -> MetricRequest
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 MetricRequest
impl Debug for MetricRequest
source§impl Default for MetricRequest
impl Default for MetricRequest
source§fn default() -> MetricRequest
fn default() -> MetricRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MetricRequest
impl<'de> Deserialize<'de> for MetricRequest
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
source§impl Serialize for MetricRequest
impl Serialize for MetricRequest
impl Part for MetricRequest
Auto Trait Implementations§
impl RefUnwindSafe for MetricRequest
impl Send for MetricRequest
impl Sync for MetricRequest
impl Unpin for MetricRequest
impl UnwindSafe for MetricRequest
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