Struct google_api_proto::google::monitoring::dashboard::v1::pie_chart::PieChartDataSet
source · pub struct PieChartDataSet {
pub time_series_query: Option<TimeSeriesQuery>,
pub slice_name_template: String,
pub min_alignment_period: Option<Duration>,
}
Expand description
Groups a time series query definition.
Fields§
§time_series_query: Option<TimeSeriesQuery>
Required. The query for the PieChart. See,
google.monitoring.dashboard.v1.TimeSeriesQuery
.
slice_name_template: String
Optional. A template for the name of the slice. This name will be
displayed in the legend and the tooltip of the pie chart. It replaces the
auto-generated names for the slices. For example, if the template is set
to
${resource.labels.zone}
, the zone’s value will be used for the name
instead of the default name.
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.
Trait Implementations§
source§impl Clone for PieChartDataSet
impl Clone for PieChartDataSet
source§fn clone(&self) -> PieChartDataSet
fn clone(&self) -> PieChartDataSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PieChartDataSet
impl Debug for PieChartDataSet
source§impl Default for PieChartDataSet
impl Default for PieChartDataSet
source§impl Message for PieChartDataSet
impl Message for PieChartDataSet
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for PieChartDataSet
impl PartialEq for PieChartDataSet
source§fn eq(&self, other: &PieChartDataSet) -> bool
fn eq(&self, other: &PieChartDataSet) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PieChartDataSet
Auto Trait Implementations§
impl Freeze for PieChartDataSet
impl RefUnwindSafe for PieChartDataSet
impl Send for PieChartDataSet
impl Sync for PieChartDataSet
impl Unpin for PieChartDataSet
impl UnwindSafe for PieChartDataSet
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request