pub struct ForwardDns {
pub hostname: String,
pub addresses: Vec<ForwardLookupRecord>,
}Fields§
§hostname: String§addresses: Vec<ForwardLookupRecord>Trait Implementations§
Source§impl Clone for ForwardDns
impl Clone for ForwardDns
Source§fn clone(&self) -> ForwardDns
fn clone(&self) -> ForwardDns
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ForwardDns
impl Debug for ForwardDns
Source§impl<'de> Deserialize<'de> for ForwardDns
impl<'de> Deserialize<'de> for ForwardDns
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 ForwardDns
impl RefUnwindSafe for ForwardDns
impl Send for ForwardDns
impl Sync for ForwardDns
impl Unpin for ForwardDns
impl UnsafeUnpin for ForwardDns
impl UnwindSafe for ForwardDns
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