pub struct DnsKey<'a> {
pub flags: u16,
pub protocol: u8,
pub algorithm: u8,
pub public_key: Characters<'a>,
}Expand description
§DNS key record
This record is used to store public keys that are associated with a zone.
Fields§
§flags: u16The flags field specifies various flags that control the security related aspects of the key.
protocol: u8The protocol field specifies the protocol for which the key is used.
algorithm: u8The algorithm field specifies the public key’s cryptographic algorithm
public_key: Characters<'a>The public key field holds the public key material.
Trait Implementations§
impl<'a> Copy for DnsKey<'a>
impl<'a> StructuralPartialEq for DnsKey<'a>
Auto Trait Implementations§
impl<'a> Freeze for DnsKey<'a>
impl<'a> RefUnwindSafe for DnsKey<'a>
impl<'a> Send for DnsKey<'a>
impl<'a> Sync for DnsKey<'a>
impl<'a> Unpin for DnsKey<'a>
impl<'a> UnwindSafe for DnsKey<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more