Struct trust_dns::rr::rdata::txt::TXT [] [src]

pub struct TXT { /* 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
[src]

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.

TXT-DATA        One or more <character-string>s.

Trait Implementations

impl Debug for TXT
[src]

Formats the value using the given formatter.

impl PartialEq for TXT
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TXT
[src]

impl Hash for TXT
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Clone for TXT
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more