Struct adguardian::fetch::fetch_stats::StatsResponse
source · pub struct StatsResponse {Show 15 fields
pub num_dns_queries: u64,
pub num_blocked_filtering: u64,
pub num_replaced_safebrowsing: u64,
pub num_replaced_safesearch: u64,
pub num_replaced_parental: u64,
pub avg_processing_time: f64,
pub dns_queries: Vec<u64>,
pub blocked_filtering: Vec<u64>,
pub replaced_safebrowsing: Vec<u64>,
pub replaced_parental: Vec<u64>,
pub dns_queries_chart: Vec<(f64, f64)>,
pub blocked_filtering_chart: Vec<(f64, f64)>,
pub top_queried_domains: Vec<DomainData>,
pub top_blocked_domains: Vec<DomainData>,
pub top_clients: Vec<DomainData>,
}
Fields§
§num_dns_queries: u64
§num_blocked_filtering: u64
§num_replaced_safebrowsing: u64
§num_replaced_safesearch: u64
§num_replaced_parental: u64
§avg_processing_time: f64
§dns_queries: Vec<u64>
§blocked_filtering: Vec<u64>
§replaced_safebrowsing: Vec<u64>
§replaced_parental: Vec<u64>
§dns_queries_chart: Vec<(f64, f64)>
§blocked_filtering_chart: Vec<(f64, f64)>
§top_queried_domains: Vec<DomainData>
§top_blocked_domains: Vec<DomainData>
§top_clients: Vec<DomainData>
Trait Implementations§
source§impl Clone for StatsResponse
impl Clone for StatsResponse
source§fn clone(&self) -> StatsResponse
fn clone(&self) -> StatsResponse
Returns a copy 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 StatsResponse
impl Debug for StatsResponse
source§impl<'de> Deserialize<'de> for StatsResponse
impl<'de> Deserialize<'de> for StatsResponse
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