pub struct PiHoleAPIConfig { /* private fields */ }
Expand description
Pi Hole API Struct
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PiHoleAPIConfig
impl RefUnwindSafe for PiHoleAPIConfig
impl Send for PiHoleAPIConfig
impl Sync for PiHoleAPIConfig
impl Unpin for PiHoleAPIConfig
impl UnwindSafe for PiHoleAPIConfig
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> UnauthenticatedPiHoleAPI for Twhere
T: PiHoleAPIHost,
impl<T> UnauthenticatedPiHoleAPI for Twhere
T: PiHoleAPIHost,
Source§fn get_versions(&self) -> Result<Versions, APIError>
fn get_versions(&self) -> Result<Versions, APIError>
Get versions of core, FTL and web and if updates are available
Source§fn get_summary_raw(&self) -> Result<SummaryRaw, APIError>
fn get_summary_raw(&self) -> Result<SummaryRaw, APIError>
Get statistics in a raw format (no number format)
Source§fn get_over_time_data_10_mins(&self) -> Result<OverTimeData, APIError>
fn get_over_time_data_10_mins(&self) -> Result<OverTimeData, APIError>
Get statistics on the number of domains and ads for each 10 minute period