pub struct HostSummary {
pub host: String,
pub total_requests: u64,
pub blocked_requests: u64,
}Expand description
Aggregated request metrics per host.
Fields§
§host: StringHostname extracted from request URL.
total_requests: u64Total requests observed for this host.
blocked_requests: u64Requests that returned HTTP 403 or 429.
Trait Implementations§
Source§impl Clone for HostSummary
impl Clone for HostSummary
Source§fn clone(&self) -> HostSummary
fn clone(&self) -> HostSummary
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 HostSummary
impl Debug for HostSummary
Source§impl<'de> Deserialize<'de> for HostSummary
impl<'de> Deserialize<'de> for HostSummary
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
Source§impl PartialEq for HostSummary
impl PartialEq for HostSummary
Source§impl Serialize for HostSummary
impl Serialize for HostSummary
impl Eq for HostSummary
impl StructuralPartialEq for HostSummary
Auto Trait Implementations§
impl Freeze for HostSummary
impl RefUnwindSafe for HostSummary
impl Send for HostSummary
impl Sync for HostSummary
impl Unpin for HostSummary
impl UnsafeUnpin for HostSummary
impl UnwindSafe for HostSummary
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more