pub struct DnsRecord {
pub name: String,
pub record_type: DnsRecordType,
pub value: String,
pub ttl: Option<u32>,
}Expand description
Stores a simple DNS record value.
Fields§
§name: StringRecord name.
record_type: DnsRecordTypeRecord type.
value: StringRecord payload string.
ttl: Option<u32>Optional TTL value.
Trait Implementations§
impl Eq for DnsRecord
impl StructuralPartialEq for DnsRecord
Auto Trait Implementations§
impl Freeze for DnsRecord
impl RefUnwindSafe for DnsRecord
impl Send for DnsRecord
impl Sync for DnsRecord
impl Unpin for DnsRecord
impl UnsafeUnpin for DnsRecord
impl UnwindSafe for DnsRecord
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