pub struct Svcb<'a> {
pub priority: u16,
pub weight: u16,
pub port: u16,
pub target: DnsName<'a>,
pub parameters: Characters<'a>,
}Expand description
§Service binding record (SVCB)
This record is used to describe the parameters of a service binding.
Fields§
§priority: u16The priority of this target host
weight: u16The relative weight for entries with the same priority
port: u16The TCP or UDP port on which the service is to be found
target: DnsName<'a>The domain name of the target host
parameters: Characters<'a>The parameters of the service binding
Trait Implementations§
impl<'a> Copy for Svcb<'a>
impl<'a> StructuralPartialEq for Svcb<'a>
Auto Trait Implementations§
impl<'a> Freeze for Svcb<'a>
impl<'a> RefUnwindSafe for Svcb<'a>
impl<'a> Send for Svcb<'a>
impl<'a> Sync for Svcb<'a>
impl<'a> Unpin for Svcb<'a>
impl<'a> UnwindSafe for Svcb<'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