pub struct ObliviousDoHConfig { /* private fields */ }Expand description
Contains version and encryption information. Based on the version specified, the contents can differ.
For ODOH_VERSION = 0x0001, ObliviousDoHConfig::contents
deserializes into
ObliviousDoHConfigContents.
Trait Implementations§
Source§impl Clone for ObliviousDoHConfig
impl Clone for ObliviousDoHConfig
Source§fn clone(&self) -> ObliviousDoHConfig
fn clone(&self) -> ObliviousDoHConfig
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 ObliviousDoHConfig
impl Debug for ObliviousDoHConfig
Source§impl Deserialize for ObliviousDoHConfig
impl Deserialize for ObliviousDoHConfig
Source§impl From<ObliviousDoHConfig> for ObliviousDoHConfigContents
impl From<ObliviousDoHConfig> for ObliviousDoHConfigContents
Source§fn from(c: ObliviousDoHConfig) -> Self
fn from(c: ObliviousDoHConfig) -> Self
Converts to this type from the input type.
Source§impl From<ObliviousDoHConfigContents> for ObliviousDoHConfig
impl From<ObliviousDoHConfigContents> for ObliviousDoHConfig
Source§fn from(c: ObliviousDoHConfigContents) -> Self
fn from(c: ObliviousDoHConfigContents) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ObliviousDoHConfig
impl PartialEq for ObliviousDoHConfig
Source§impl Serialize for &ObliviousDoHConfig
impl Serialize for &ObliviousDoHConfig
impl Eq for ObliviousDoHConfig
impl StructuralPartialEq for ObliviousDoHConfig
Auto Trait Implementations§
impl !Freeze for ObliviousDoHConfig
impl RefUnwindSafe for ObliviousDoHConfig
impl Send for ObliviousDoHConfig
impl Sync for ObliviousDoHConfig
impl Unpin for ObliviousDoHConfig
impl UnwindSafe for ObliviousDoHConfig
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