Struct gapi_grpc::google::monitoring::dashboard::v1::scorecard::SparkChartView[][src]

pub struct SparkChartView {
    pub spark_chart_type: i32,
    pub min_alignment_period: Option<Duration>,
}

A sparkChart is a small chart suitable for inclusion in a table-cell or inline in text. This message contains the configuration for a sparkChart to show up on a Scorecard, showing recent trends of the scorecard’s timeseries.

Fields

spark_chart_type: i32

Required. The type of sparkchart to show in this chartView.

min_alignment_period: Option<Duration>

The lower bound on data point frequency in the chart 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 it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.

Implementations

impl SparkChartView[src]

pub fn spark_chart_type(&self) -> SparkChartType[src]

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

pub fn set_spark_chart_type(&mut self, value: SparkChartType)[src]

Sets spark_chart_type to the provided enum value.

Trait Implementations

impl Clone for SparkChartView[src]

impl Debug for SparkChartView[src]

impl Default for SparkChartView[src]

impl Message for SparkChartView[src]

impl PartialEq<SparkChartView> for SparkChartView[src]

impl StructuralPartialEq for SparkChartView[src]

Auto Trait Implementations

impl RefUnwindSafe for SparkChartView

impl Send for SparkChartView

impl Sync for SparkChartView

impl Unpin for SparkChartView

impl UnwindSafe for SparkChartView

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]