Struct dns_message_parser::rr::ServiceBinding [−][src]
pub struct ServiceBinding {
pub name: DomainName,
pub ttl: u32,
pub priority: u16,
pub target_name: DomainName,
pub parameters: BTreeSet<ServiceParameter>,
pub https: bool,
}Expand description
A Service Binding record for locating alternative endpoints for a service.
Fields
name: DomainNamettl: u32priority: u16The SvcPriority field, a value between 0 and 65535
SVCB resource records with a smaller priority SHOULD be given priority over resource records
with a larger value.
target_name: DomainNameparameters: BTreeSet<ServiceParameter>https: boolIndicates whether or not this is an HTTPS record (RFC section 8)
Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ServiceBinding
impl Send for ServiceBinding
impl Sync for ServiceBinding
impl Unpin for ServiceBinding
impl UnwindSafe for ServiceBinding
Blanket Implementations
Mutably borrows from an owned value. Read more