pub struct FullName<'a> {
    pub service: Option<&'a str>,
    pub reg_type: &'a str,
    pub domain: &'a str,
}
Expand description

Full name consiting of (up to) three parts

Fields

service: Option<&'a str>

(unescaped) service name (becomes single label in full name)

reg_type: &'a str

registration type (valid names don’t need escaping)

domain: &'a str

(escaped) domain name (most names don’t need escaping)

Implementations

Escape and concatenate all three parts to a full name

See DNSServiceConstructFullName

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.