pub struct SRV {
pub domain_name: DomainName,
pub ttl: u32,
pub class: Class,
pub priority: u16,
pub weight: u16,
pub port: u16,
pub target: DomainName,
}
Expand description
The location of services resource record type.
Fields§
§domain_name: DomainName
§ttl: u32
§class: Class
§priority: u16
§weight: u16
§port: u16
§target: DomainName
Implementations§
Trait Implementations§
impl Eq for SRV
impl StructuralPartialEq for SRV
Auto Trait Implementations§
impl Freeze for SRV
impl RefUnwindSafe for SRV
impl Send for SRV
impl Sync for SRV
impl Unpin for SRV
impl UnwindSafe for SRV
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