pub struct TimeseriesDescriptor {
pub labels: Option<HashMap<String, String>>,
pub metric: Option<String>,
pub project: Option<String>,
}
Expand description
TimeseriesDescriptor identifies a single time series.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list timeseries descriptors (none)
Fields§
§labels: Option<HashMap<String, String>>
The label’s name.
metric: Option<String>
The name of the metric.
project: Option<String>
The Developers Console project number to which this time series belongs.
Trait Implementations§
source§impl Clone for TimeseriesDescriptor
impl Clone for TimeseriesDescriptor
source§fn clone(&self) -> TimeseriesDescriptor
fn clone(&self) -> TimeseriesDescriptor
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 TimeseriesDescriptor
impl Debug for TimeseriesDescriptor
source§impl Default for TimeseriesDescriptor
impl Default for TimeseriesDescriptor
source§fn default() -> TimeseriesDescriptor
fn default() -> TimeseriesDescriptor
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TimeseriesDescriptor
impl<'de> Deserialize<'de> for TimeseriesDescriptor
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 TimeseriesDescriptor
impl Serialize for TimeseriesDescriptor
impl Resource for TimeseriesDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for TimeseriesDescriptor
impl Send for TimeseriesDescriptor
impl Sync for TimeseriesDescriptor
impl Unpin for TimeseriesDescriptor
impl UnwindSafe for TimeseriesDescriptor
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