pub struct ObliviousDoHTarget {
pub props: Props,
pub hostname: String,
pub path: String,
}Expand description
Oblivious DoH target stamps
Fields§
§props: Propsserver properties
hostname: Stringhostname is the server host name which, for relays, will also be used as a SNI name. If the host name contains characters outside the URL-permitted range, these characters should be sent as-is, without any extra encoding (neither URL-encoded nor punycode).
path: Stringpath is the absolute URI path, such as /dns-query.
Trait Implementations§
Source§impl Clone for ObliviousDoHTarget
impl Clone for ObliviousDoHTarget
Source§fn clone(&self) -> ObliviousDoHTarget
fn clone(&self) -> ObliviousDoHTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObliviousDoHTarget
impl Debug for ObliviousDoHTarget
Source§impl PartialEq for ObliviousDoHTarget
impl PartialEq for ObliviousDoHTarget
impl Eq for ObliviousDoHTarget
impl StructuralPartialEq for ObliviousDoHTarget
Auto Trait Implementations§
impl Freeze for ObliviousDoHTarget
impl RefUnwindSafe for ObliviousDoHTarget
impl Send for ObliviousDoHTarget
impl Sync for ObliviousDoHTarget
impl Unpin for ObliviousDoHTarget
impl UnwindSafe for ObliviousDoHTarget
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