#[repr(C)]pub struct DnsRecordA {
pub ip: u32,
pub ttl: u32,
}Fields§
§ip: u32§ttl: u32Trait Implementations§
Source§impl Clone for DnsRecordA
impl Clone for DnsRecordA
Source§fn clone(&self) -> DnsRecordA
fn clone(&self) -> DnsRecordA
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 moreimpl Copy for DnsRecordA
Auto Trait Implementations§
impl Freeze for DnsRecordA
impl RefUnwindSafe for DnsRecordA
impl Send for DnsRecordA
impl Sync for DnsRecordA
impl Unpin for DnsRecordA
impl UnwindSafe for DnsRecordA
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