pub struct AdvancedVisualization { /* private fields */ }Expand description
Main visualization and dashboarding system
Implementations§
Source§impl AdvancedVisualization
impl AdvancedVisualization
Sourcepub fn new(config: VisualizationConfig) -> Self
pub fn new(config: VisualizationConfig) -> Self
Create new visualization system
Sourcepub async fn create_dashboard(&self, dashboard: Dashboard) -> Result<String>
pub async fn create_dashboard(&self, dashboard: Dashboard) -> Result<String>
Create new dashboard
Sourcepub async fn get_dashboard(&self, dashboard_id: &str) -> Option<Dashboard>
pub async fn get_dashboard(&self, dashboard_id: &str) -> Option<Dashboard>
Get dashboard
Sourcepub async fn update_dashboard(
&self,
dashboard_id: &str,
dashboard: Dashboard,
) -> Result<()>
pub async fn update_dashboard( &self, dashboard_id: &str, dashboard: Dashboard, ) -> Result<()>
Update dashboard
Sourcepub async fn delete_dashboard(&self, dashboard_id: &str) -> Result<()>
pub async fn delete_dashboard(&self, dashboard_id: &str) -> Result<()>
Delete dashboard
Sourcepub async fn generate_widget_chart(&self, widget: &Widget) -> Result<ChartData>
pub async fn generate_widget_chart(&self, widget: &Widget) -> Result<ChartData>
Generate chart for widget
Sourcepub async fn generate_topology_visualization(
&self,
) -> Result<TopologyVisualization>
pub async fn generate_topology_visualization( &self, ) -> Result<TopologyVisualization>
Generate topology visualization
Sourcepub async fn add_topology_node(&self, node: TopologyNode) -> Result<()>
pub async fn add_topology_node(&self, node: TopologyNode) -> Result<()>
Add topology node
Sourcepub async fn add_topology_edge(&self, edge: TopologyEdge) -> Result<()>
pub async fn add_topology_edge(&self, edge: TopologyEdge) -> Result<()>
Add topology edge
Sourcepub async fn get_alert_timeline(&self) -> Result<AlertTimeline>
pub async fn get_alert_timeline(&self) -> Result<AlertTimeline>
Get alert timeline
Sourcepub async fn export_dashboard(
&self,
dashboard_id: &str,
format: ExportFormat,
) -> Result<Vec<u8>>
pub async fn export_dashboard( &self, dashboard_id: &str, format: ExportFormat, ) -> Result<Vec<u8>>
Export dashboard
Sourcepub async fn create_default_performance_dashboard(&self) -> Result<String>
pub async fn create_default_performance_dashboard(&self) -> Result<String>
Create default performance dashboard
Sourcepub async fn create_security_dashboard(&self) -> Result<String>
pub async fn create_security_dashboard(&self) -> Result<String>
Create security monitoring dashboard
Trait Implementations§
Source§impl Clone for AdvancedVisualization
impl Clone for AdvancedVisualization
Source§fn clone(&self) -> AdvancedVisualization
fn clone(&self) -> AdvancedVisualization
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 AdvancedVisualization
impl !RefUnwindSafe for AdvancedVisualization
impl Send for AdvancedVisualization
impl Sync for AdvancedVisualization
impl Unpin for AdvancedVisualization
impl !UnwindSafe for AdvancedVisualization
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.