Struct simple_dns::rdata::TXT
source · [−]pub struct TXT<'a> { /* private fields */ }Expand description
Represents a TXT Resource Record
Implementations
Add char_string to this TXT record as a validated CharacterString
Add char_string to this TXT record
Add char_string to this TXT record as a validated CharacterString, consuming and returning Self
Add char_string to this TXT record, consuming and returning Self
Returns parsed attributes from this TXT Record, valid formats are:
- key=value
- key=
- key
If a key is duplicated, only the first one will be considered
Transforms the inner data into it’s owned type
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for TXT<'a>
impl<'a> UnwindSafe for TXT<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more