Struct trust_dns_proto::rr::rdata::caa::KeyValue [−][src]
pub struct KeyValue { /* fields omitted */ }
Issuer key and value pairs.
See RFC 6844, DNS Certification Authority Authorization, January 2013 for more explanation.
Methods
impl KeyValue
[src]
impl KeyValue
pub fn new<K: Into<String>, V: Into<String>>(key: K, value: V) -> Self
[src]
pub fn new<K: Into<String>, V: Into<String>>(key: K, value: V) -> Self
Contstruct a new KeyValue pair
Trait Implementations
impl Debug for KeyValue
[src]
impl Debug for KeyValue
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for KeyValue
[src]
impl PartialEq for KeyValue
fn eq(&self, other: &KeyValue) -> bool
[src]
fn eq(&self, other: &KeyValue) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &KeyValue) -> bool
[src]
fn ne(&self, other: &KeyValue) -> bool
This method tests for !=
.
impl Eq for KeyValue
[src]
impl Eq for KeyValue
impl Hash for KeyValue
[src]
impl Hash for KeyValue
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &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[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for KeyValue
[src]
impl Clone for KeyValue