pub struct BoundaryEventStatistics {
pub total_events: usize,
pub events_by_type: HashMap<String, usize>,
pub risk_distribution: HashMap<String, usize>,
pub average_transfer_size: f64,
pub total_transfer_volume: usize,
pub most_active_contexts: Vec<(String, usize)>,
pub security_incidents: usize,
pub performance_issues: usize,
pub analysis_timestamp: u128,
}
Expand description
Statistics for boundary events
Fields§
§total_events: usize
Total number of boundary events
events_by_type: HashMap<String, usize>
Events grouped by type
risk_distribution: HashMap<String, usize>
Risk level distribution
average_transfer_size: f64
Average transfer size
total_transfer_volume: usize
Total volume of data transferred
most_active_contexts: Vec<(String, usize)>
Most active contexts (context name, event count)
security_incidents: usize
Number of security incidents detected
performance_issues: usize
Number of performance issues detected
analysis_timestamp: u128
When the statistics were generated
Trait Implementations§
Source§impl Clone for BoundaryEventStatistics
impl Clone for BoundaryEventStatistics
Source§fn clone(&self) -> BoundaryEventStatistics
fn clone(&self) -> BoundaryEventStatistics
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 moreSource§impl Debug for BoundaryEventStatistics
impl Debug for BoundaryEventStatistics
Source§impl<'de> Deserialize<'de> for BoundaryEventStatistics
impl<'de> Deserialize<'de> for BoundaryEventStatistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BoundaryEventStatistics
impl RefUnwindSafe for BoundaryEventStatistics
impl Send for BoundaryEventStatistics
impl Sync for BoundaryEventStatistics
impl Unpin for BoundaryEventStatistics
impl UnwindSafe for BoundaryEventStatistics
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 more