[][src]Struct trust_dns_proto::rr::rdata::caa::KeyValue

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]

pub fn new<K: Into<String>, V: Into<String>>(key: K, value: V) -> Self[src]

Construct a new KeyValue pair

pub fn key(&self) -> &str[src]

Gets a reference to the key of the pair.

pub fn value(&self) -> &str[src]

Gets a reference to the value of the pair.

Trait Implementations

impl Clone for KeyValue[src]

impl Eq for KeyValue[src]

impl PartialEq<KeyValue> for KeyValue[src]

impl Debug for KeyValue[src]

impl Hash for KeyValue[src]

impl StructuralPartialEq for KeyValue[src]

impl StructuralEq for KeyValue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,