pub enum WidgetBuilderImpl {
TimeSeries(TimeSeriesWidget),
Gauge(GaugeWidget),
Heatmap(HeatmapWidget),
Table(TableWidget),
}Expand description
Enum for concrete widget builder implementations
Variants§
Implementations§
Source§impl WidgetBuilderImpl
impl WidgetBuilderImpl
Sourcepub async fn build(
&self,
data: &WidgetData,
options: &HashMap<String, Value>,
) -> Result<WidgetData, MonitoringError>
pub async fn build( &self, data: &WidgetData, options: &HashMap<String, Value>, ) -> Result<WidgetData, MonitoringError>
Build widget visualization from data and options
Trait Implementations§
Source§impl Clone for WidgetBuilderImpl
impl Clone for WidgetBuilderImpl
Source§fn clone(&self) -> WidgetBuilderImpl
fn clone(&self) -> WidgetBuilderImpl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WidgetBuilderImpl
impl RefUnwindSafe for WidgetBuilderImpl
impl Send for WidgetBuilderImpl
impl Sync for WidgetBuilderImpl
impl Unpin for WidgetBuilderImpl
impl UnwindSafe for WidgetBuilderImpl
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
Mutably borrows from an owned value. Read more