Struct simple_dns::rdata::A
source · pub struct A {
pub address: u32,
}
Expand description
Represents a Resource Address (IPv4)
Fields§
§address: u32
a 32 bit ip address
Implementations§
source§impl A
impl A
sourcepub fn into_owned(self) -> Self
pub fn into_owned(self) -> Self
Transforms the inner data into its owned type
Trait Implementations§
impl Eq for A
impl StructuralEq for A
impl StructuralPartialEq for A
Auto Trait Implementations§
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