Struct Summary

Source
pub struct Summary {
Show 16 fields pub domains_being_blocked: String, pub dns_queries_today: String, pub ads_blocked_today: String, pub ads_percentage_today: String, pub unique_domains: String, pub queries_forwarded: String, pub queries_cached: String, pub clients_ever_seen: String, pub unique_clients: String, pub dns_queries_all_types: String, pub reply_nodata: String, pub reply_nxdomain: String, pub reply_cname: String, pub reply_ip: String, pub privacy_level: String, pub status: String,
}
Expand description

Summary Struct

Fields§

§domains_being_blocked: String

Formatted number of domains being blocked

§dns_queries_today: String

Formatted number of DNS queries today

§ads_blocked_today: String

Formatted number of Ads blocked today

§ads_percentage_today: String

Formatted percentage of queries blocked today

§unique_domains: String

Formatted number of unique domains

§queries_forwarded: String

Formatted number of queries forwarded

§queries_cached: String

Formatted number of queries cached

§clients_ever_seen: String

Formatted number of clients ever seen

§unique_clients: String

Formatted number of unique clients

§dns_queries_all_types: String

Formatted number of DNS queries of all types

§reply_nodata: String

Formatted number of NODATA replies

§reply_nxdomain: String

Formatted number of NXDOMAIN replies

§reply_cname: String

Formatted number of CNAME replies

§reply_ip: String

Formatted number of IP replies

§privacy_level: String

Privacy level

§status: String

Pi Hole status

Trait Implementations§

Source§

impl Debug for Summary

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Summary

Source§

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 Serialize for Summary

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,