[][src]Struct google_cloudmonitoring2_beta2::Point

pub struct Point {
    pub start: Option<String>,
    pub bool_value: Option<bool>,
    pub end: Option<String>,
    pub distribution_value: Option<PointDistribution>,
    pub string_value: Option<String>,
    pub int64_value: Option<String>,
    pub double_value: Option<f64>,
}

Point is a single point in a time series. It consists of a start time, an end time, and a value.

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

Fields

start: Option<String>

The interval [start, end] is the time period to which the point's value applies. For gauge metrics, whose values are instantaneous measurements, this interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be non-empty. Both start and end are RFC 3339 strings.

bool_value: Option<bool>

The value of this data point. Either "true" or "false".

end: Option<String>

The interval [start, end] is the time period to which the point's value applies. For gauge metrics, whose values are instantaneous measurements, this interval should be empty (start should equal end). For cumulative metrics (of which deltas and rates are special cases), the interval should be non-empty. Both start and end are RFC 3339 strings.

distribution_value: Option<PointDistribution>

The value of this data point as a distribution. A distribution value can contain a list of buckets and/or an underflowBucket and an overflowBucket. The values of these points can be used to create a histogram.

string_value: Option<String>

The value of this data point in string format.

int64_value: Option<String>

The value of this data point as a 64-bit integer.

double_value: Option<f64>

The value of this data point as a double-precision floating-point number.

Trait Implementations

impl Part for Point[src]

impl Default for Point[src]

impl Clone for Point[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Point[src]

impl Serialize for Point[src]

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

Auto Trait Implementations

impl Send for Point

impl Unpin for Point

impl Sync for Point

impl UnwindSafe for Point

impl RefUnwindSafe for Point

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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