pub struct RecordSRV {
pub priority: u16,
pub weight: u16,
pub port: u16,
pub target: String,
}
Fields§
§priority: u16
the priority of the target host, lower value means more preferred.
weight: u16
A relative weight for records with the same priority, higher value means higher chance of getting picked.
port: u16
the TCP or UDP port on which the service is to be found.
target: String
the canonical hostname of the machine providing the service, ending in a dot.
Trait Implementations§
Source§impl RecordReader for RecordSRV
impl RecordReader for RecordSRV
impl Eq for RecordSRV
impl StructuralPartialEq for RecordSRV
Auto Trait Implementations§
impl Freeze for RecordSRV
impl RefUnwindSafe for RecordSRV
impl Send for RecordSRV
impl Sync for RecordSRV
impl Unpin for RecordSRV
impl UnwindSafe for RecordSRV
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