pub struct DoH<'a> {
pub name: String,
pub type: Option<u32>,
pub cd: Option<bool>,
pub ct: Option<String>,
pub do: Option<bool>,
pub edns_client_subnet: Option<String>,
/* private fields */
}Fields§
§name: String§type: Option<u32>RR type default = 1
cd: Option<bool>The checking disabled flag Use true to disable DNSSEC or false to enable DNSSEC validation default = false
ct: Option<String>Desired content type ct=application/dns-message for binary DNS-message ct=application/x-javascript for JSON text default = empty
do: Option<bool>DNSSEC OK flag if true, the DNSSEC records will be included in the response (RRSIG, NSEC, NSEC3) or false to ommit these values in the response default = false
edns_client_subnet: Option<String>Use IP address format with a subnet mask Examples: 1.2.3.4/24, 2001:700:300::/48 default = empty
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DoH<'a>
impl<'a> RefUnwindSafe for DoH<'a>
impl<'a> Send for DoH<'a>
impl<'a> Sync for DoH<'a>
impl<'a> Unpin for DoH<'a>
impl<'a> UnsafeUnpin for DoH<'a>
impl<'a> UnwindSafe for DoH<'a>
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