[][src]Struct google_logging2::MetricDescriptorMetadata

pub struct MetricDescriptorMetadata {
    pub ingest_delay: Option<String>,
    pub launch_stage: Option<String>,
    pub sample_period: Option<String>,
}

Additional annotations that can be used to guide the usage of a metric.

This type is not used in any activity, and only used as part of another schema.

Fields

ingest_delay: Option<String>

The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.

launch_stage: Option<String>

Deprecated. Must use the MetricDescriptor.launch_stage instead.

sample_period: Option<String>

The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.

Trait Implementations

impl Clone for MetricDescriptorMetadata[src]

impl Debug for MetricDescriptorMetadata[src]

impl Default for MetricDescriptorMetadata[src]

impl<'de> Deserialize<'de> for MetricDescriptorMetadata[src]

impl Part for MetricDescriptorMetadata[src]

impl Serialize for MetricDescriptorMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any