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]
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 txt_data(&self) -> &[String]
TXT-DATA One or more <character-string>s.
Trait Implementations
impl Debug for TXT
[src]
impl PartialEq for TXT
[src]
fn eq(&self, __arg_0: &TXT) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TXT) -> bool
This method tests for !=
.
impl Eq for TXT
[src]
impl Hash for TXT
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for TXT
[src]
fn clone(&self) -> TXT
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more