Struct trust_dns_proto::rr::rdata::openpgpkey::OPENPGPKEY
source · [−]pub struct OPENPGPKEY { /* private fields */ }
Expand description
The RDATA portion of an OPENPGPKEY resource record contains a single
value consisting of a Transferable Public Key formatted as specified
in [RFC4880].
Implementations
Creates a new OPENPGPKEY record data.
Arguments
public_key
- an OpenPGP Transferable Public Key. This will NOT be checked.
Trait Implementations
Parse the RData from a set of tokens.
2.3. The OPENPGPKEY RDATA Presentation Format
The RDATA Presentation Format, as visible in Zone Files [RFC1035],
consists of a single OpenPGP Transferable Public Key as defined in
Section 11.1 of [RFC4880] encoded in base64 as defined in Section 4
of [RFC4648].
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OPENPGPKEY
impl Send for OPENPGPKEY
impl Sync for OPENPGPKEY
impl Unpin for OPENPGPKEY
impl UnwindSafe for OPENPGPKEY
Blanket Implementations
Mutably borrows from an owned value. Read more