pub struct Uri<'a> {
pub priority: u16,
pub weight: u16,
pub target: Characters<'a>,
}Expand description
§Uniform resource identifier record (URI)
This record is used to publish mappings from hostnames to URIs.
Fields§
§priority: u16The priority of this URI record. Lower values are preferred.
weight: u16The weight of this URI record. Higher values are preferred.
target: Characters<'a>The target URI.
Trait Implementations§
impl<'a> Copy for Uri<'a>
impl<'a> StructuralPartialEq for Uri<'a>
Auto Trait Implementations§
impl<'a> Freeze for Uri<'a>
impl<'a> RefUnwindSafe for Uri<'a>
impl<'a> Send for Uri<'a>
impl<'a> Sync for Uri<'a>
impl<'a> Unpin for Uri<'a>
impl<'a> UnwindSafe for Uri<'a>
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