pub struct DS {
pub name: Name,
pub key_tag: u16,
pub alg: u8,
pub digest_type: u8,
pub digest: Vec<u8>,
}Expand description
A Delegation Signer resource record which indicates that some alternative DnsKey can sign
for records in the zone which matches [self.name].
Fields§
§name: NameThe name this record is at.
This is also the zone that a DnsKey which matches the Self::digest can sign for.
key_tag: u16A short tag which describes the matching DnsKey.
This matches the DnsKey::key_tag for the DnsKey which is referred to by this
DS.
alg: u8The algorithm which the DnsKey referred to by this DS uses.
This matches the DnsKey::alg field in the referred-to DnsKey.
digest_type: u8The type of digest used to hash the referred-to DnsKey.
digest: Vec<u8>The digest itself.
Trait Implementations§
Source§impl Ord for DS
impl Ord for DS
Source§impl PartialOrd for DS
impl PartialOrd for DS
impl Eq for DS
impl StructuralPartialEq for DS
Auto Trait Implementations§
impl Freeze for DS
impl RefUnwindSafe for DS
impl Send for DS
impl Sync for DS
impl Unpin for DS
impl UnwindSafe for DS
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<RR> Record for RRwhere
RR: StaticRecord,
impl<RR> Record for RRwhere
RR: StaticRecord,
Source§fn write_u16_len_prefixed_data(&self, out: &mut Vec<u8>)
fn write_u16_len_prefixed_data(&self, out: &mut Vec<u8>)
Writes the data of this record, prefixed by a u16 length, to the given
Vec.