pub struct Key<'a> {
pub flags: u16,
pub protocol: u8,
pub algorithm: u8,
pub public_key: Characters<'a>,
}Expand description
§Key
This record is used to store a public key that can be used to verify DNSSEC signatures
Fields§
§flags: u16The flags field is used to store flags specific to the algorithm
protocol: u8The protocol field is used to store the protocol number for which this key is used
algorithm: u8The algorithm field is used to store the algorithm number for this key
public_key: Characters<'a>The public key is stored as a character string
Trait Implementations§
impl<'a> Copy for Key<'a>
impl<'a> StructuralPartialEq for Key<'a>
Auto Trait Implementations§
impl<'a> Freeze for Key<'a>
impl<'a> RefUnwindSafe for Key<'a>
impl<'a> Send for Key<'a>
impl<'a> Sync for Key<'a>
impl<'a> Unpin for Key<'a>
impl<'a> UnwindSafe for Key<'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