pub struct ServerStats {
pub total_requests: u64,
pub unique_ips: u64,
pub error_requests: u64,
pub security_alerts: u64,
pub performance_warnings: u64,
pub total_bytes_sent: u64,
pub avg_response_time: u64,
pub max_response_time: u64,
}Fields§
§total_requests: u64§unique_ips: u64§error_requests: u64§security_alerts: u64§performance_warnings: u64§total_bytes_sent: u64§avg_response_time: u64§max_response_time: u64Trait Implementations§
Source§impl Debug for ServerStats
impl Debug for ServerStats
Source§impl Default for ServerStats
impl Default for ServerStats
Source§fn default() -> ServerStats
fn default() -> ServerStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerStats
impl RefUnwindSafe for ServerStats
impl Send for ServerStats
impl Sync for ServerStats
impl Unpin for ServerStats
impl UnwindSafe for ServerStats
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> 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