pub struct NetstatusConfig {
pub ip_sources: Vec<String>,
pub dns_lookup_domains: Vec<String>,
pub probes: Vec<String>,
pub dns_hijack_checks: Vec<DnsHijackCheck>,
}Fields§
§ip_sources: Vec<String>§dns_lookup_domains: Vec<String>§probes: Vec<String>§dns_hijack_checks: Vec<DnsHijackCheck>Implementations§
Trait Implementations§
Source§impl Default for NetstatusConfig
impl Default for NetstatusConfig
Source§fn default() -> NetstatusConfig
fn default() -> NetstatusConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetstatusConfig
impl<'de> Deserialize<'de> for NetstatusConfig
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
Auto Trait Implementations§
impl Freeze for NetstatusConfig
impl RefUnwindSafe for NetstatusConfig
impl Send for NetstatusConfig
impl Sync for NetstatusConfig
impl Unpin for NetstatusConfig
impl UnsafeUnpin for NetstatusConfig
impl UnwindSafe for NetstatusConfig
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