pub struct ZONEMD<'a> {
pub serial: u32,
pub scheme: u8,
pub algorithm: u8,
pub digest: Cow<'a, [u8]>,
}
Expand description
A ZoneMD record see rfc8976
Fields§
§serial: u32
The serial number of the zone’s SOA record
scheme: u8
The scheme in which data is hashed
algorithm: u8
The hashing algorithm ID to use (see rfc8976)
digest: Cow<'a, [u8]>
The output data of the hash algorithm.
Implementations§
Trait Implementations§
impl<'a> Eq for ZONEMD<'a>
impl<'a> StructuralPartialEq for ZONEMD<'a>
Auto Trait Implementations§
impl<'a> Freeze for ZONEMD<'a>
impl<'a> RefUnwindSafe for ZONEMD<'a>
impl<'a> Send for ZONEMD<'a>
impl<'a> Sync for ZONEMD<'a>
impl<'a> Unpin for ZONEMD<'a>
impl<'a> UnwindSafe for ZONEMD<'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