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 KeyValuepub 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) -> SelfContstruct a new KeyValue pair
Trait Implementations
impl Debug for KeyValue[src]
impl Debug for KeyValuefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for KeyValue[src]
impl PartialEq for KeyValuefn eq(&self, other: &KeyValue) -> bool[src]
fn eq(&self, other: &KeyValue) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for KeyValue[src]
impl Eq for KeyValueimpl Hash for KeyValue[src]
impl Hash for KeyValuefn 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