pub struct RouteThrough<'a> {
pub preference: u16,
pub intermediate_host: Name<'a>,
}
Expand description
The RT resource record provides a route-through binding for hosts that do not have their own direct wide area network addresses
Fields§
§preference: u16
A 16 bit integer which specifies the preference given to this RR among others at the same owner.
Lower values are preferred.
intermediate_host: Name<'a>
A Name which specifies a host which will serve as an intermediate in reaching the host specified by owner.
Implementations§
source§impl<'a> RouteThrough<'a>
impl<'a> RouteThrough<'a>
sourcepub fn into_owned<'b>(self) -> RouteThrough<'b>
pub fn into_owned<'b>(self) -> RouteThrough<'b>
Transforms the inner data into its owned type
Trait Implementations§
source§impl<'a> Clone for RouteThrough<'a>
impl<'a> Clone for RouteThrough<'a>
source§fn clone(&self) -> RouteThrough<'a>
fn clone(&self) -> RouteThrough<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for RouteThrough<'a>
impl<'a> Debug for RouteThrough<'a>
source§impl<'a> Hash for RouteThrough<'a>
impl<'a> Hash for RouteThrough<'a>
source§impl<'a> PartialEq for RouteThrough<'a>
impl<'a> PartialEq for RouteThrough<'a>
impl<'a> Eq for RouteThrough<'a>
impl<'a> StructuralPartialEq for RouteThrough<'a>
Auto Trait Implementations§
impl<'a> Freeze for RouteThrough<'a>
impl<'a> RefUnwindSafe for RouteThrough<'a>
impl<'a> Send for RouteThrough<'a>
impl<'a> Sync for RouteThrough<'a>
impl<'a> Unpin for RouteThrough<'a>
impl<'a> UnwindSafe for RouteThrough<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)