#[non_exhaustive]pub struct DnsState {
pub running: Option<DnsClientState>,
pub config: Option<DnsClientState>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.running: Option<DnsClientState>config: Option<DnsClientState>Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for DnsState
impl<'de> Deserialize<'de> for DnsState
sourcefn 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
impl Eq for DnsState
impl StructuralEq for DnsState
impl StructuralPartialEq for DnsState
Auto Trait Implementations
impl RefUnwindSafe for DnsState
impl Send for DnsState
impl Sync for DnsState
impl Unpin for DnsState
impl UnwindSafe for DnsState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
sourcefn null_value() -> T
fn null_value() -> T
The none-equivalent value.