Enum google_api_proto::google::monitoring::dashboard::v1::widget::Content
source · pub enum Content {
Show 13 variants
XyChart(XyChart),
Scorecard(Scorecard),
Text(Text),
Blank(()),
AlertChart(AlertChart),
TimeSeriesTable(TimeSeriesTable),
CollapsibleGroup(CollapsibleGroup),
LogsPanel(LogsPanel),
IncidentList(IncidentList),
PieChart(PieChart),
ErrorReportingPanel(ErrorReportingPanel),
SectionHeader(SectionHeader),
SingleViewGroup(SingleViewGroup),
}
Expand description
Content defines the component used to populate the widget.
Variants§
XyChart(XyChart)
A chart of time series data.
Scorecard(Scorecard)
A scorecard summarizing time series data.
Text(Text)
A raw string or markdown displaying textual content.
Blank(())
A blank space.
AlertChart(AlertChart)
A chart of alert policy data.
TimeSeriesTable(TimeSeriesTable)
A widget that displays time series data in a tabular format.
CollapsibleGroup(CollapsibleGroup)
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
LogsPanel(LogsPanel)
A widget that shows a stream of logs.
IncidentList(IncidentList)
A widget that shows list of incidents.
PieChart(PieChart)
A widget that displays timeseries data as a pie chart.
ErrorReportingPanel(ErrorReportingPanel)
A widget that displays a list of error groups.
SectionHeader(SectionHeader)
A widget that defines a section header for easier navigation of the dashboard.
SingleViewGroup(SingleViewGroup)
A widget that groups the other widgets by using a dropdown menu.
Implementations§
source§impl Content
impl Content
sourcepub fn merge(
field: &mut Option<Content>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Content>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for Content
impl PartialEq for Content
impl StructuralPartialEq for Content
Auto Trait Implementations§
impl Freeze for Content
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnwindSafe for Content
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