pub struct ConnectionAnalysis {
pub total_connections: u64,
pub connection_errors: u64,
pub hourly_connections: HashMap<u32, u64>,
pub daily_connections: HashMap<u32, u64>,
pub error_rate: f64,
}Expand description
Connection pattern analysis
Fields§
§total_connections: u64§connection_errors: u64§hourly_connections: HashMap<u32, u64>§daily_connections: HashMap<u32, u64>§error_rate: f64Trait Implementations§
Source§impl Clone for ConnectionAnalysis
impl Clone for ConnectionAnalysis
Source§fn clone(&self) -> ConnectionAnalysis
fn clone(&self) -> ConnectionAnalysis
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 ConnectionAnalysis
impl Debug for ConnectionAnalysis
Source§impl<'de> Deserialize<'de> for ConnectionAnalysis
impl<'de> Deserialize<'de> for ConnectionAnalysis
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 ConnectionAnalysis
impl RefUnwindSafe for ConnectionAnalysis
impl Send for ConnectionAnalysis
impl Sync for ConnectionAnalysis
impl Unpin for ConnectionAnalysis
impl UnsafeUnpin for ConnectionAnalysis
impl UnwindSafe for ConnectionAnalysis
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