pub struct RecordURI {
pub priority: u16,
pub weight: 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.
target: String
This field holds the URI of the target, enclosed in double-quote characters (‘“’), where the URI is as specified in RFC 3986
Trait Implementations§
Source§impl RecordReader for RecordURI
impl RecordReader for RecordURI
impl Eq for RecordURI
impl StructuralPartialEq for RecordURI
Auto Trait Implementations§
impl Freeze for RecordURI
impl RefUnwindSafe for RecordURI
impl Send for RecordURI
impl Sync for RecordURI
impl Unpin for RecordURI
impl UnwindSafe for RecordURI
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