Struct trust_dns::rr::rdata::txt::TXT
[−]
[src]
pub struct TXT { // some fields omitted }
RFC 1035, DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION, November 1987
3.3.14. TXT RDATA format
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
/ TXT-DATA /
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
TXT RRs are used to hold descriptive text. The semantics of the text
depends on the domain where it is found.
Methods
impl TXT
fn new(txt_data: Vec<String>) -> TXT
Creates a new TXT record data.
Arguments
txt_data
- the set of strings which make up the txt_data.
Return value
The new TXT record data.
fn get_txt_data(&self) -> &[String]
TXT-DATA One or more <character-string>s.