Struct gapi_grpc::google::monitoring::dashboard::v1::xy_chart::DataSet[][src]

pub struct DataSet {
    pub time_series_query: Option<TimeSeriesQuery>,
    pub plot_type: i32,
    pub legend_template: String,
    pub min_alignment_period: Option<Duration>,
}

Groups a time series query definition with charting options.

Fields

time_series_query: Option<TimeSeriesQuery>

Required. Fields for querying time series data from the Stackdriver metrics API.

plot_type: i32

How this data should be plotted on the chart.

legend_template: String

A template string for naming TimeSeries in the resulting data set. This should be a string with interpolations of the form ${label_name}, which will resolve to the label’s value.

min_alignment_period: Option<Duration>

Optional. The lower bound on data point frequency for this data set, implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes, the min_alignment_period should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.

Implementations

impl DataSet[src]

pub fn plot_type(&self) -> PlotType[src]

Returns the enum value of plot_type, or the default if the field is set to an invalid enum value.

pub fn set_plot_type(&mut self, value: PlotType)[src]

Sets plot_type to the provided enum value.

Trait Implementations

impl Clone for DataSet[src]

impl Debug for DataSet[src]

impl Default for DataSet[src]

impl Message for DataSet[src]

impl PartialEq<DataSet> for DataSet[src]

impl StructuralPartialEq for DataSet[src]

Auto Trait Implementations

impl RefUnwindSafe for DataSet

impl Send for DataSet

impl Sync for DataSet

impl Unpin for DataSet

impl UnwindSafe for DataSet

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]