pub struct Record {
pub record_type: RecordType,
pub version: [u8; 16],
pub created_at: u64,
pub expires_at: u64,
pub payload: Value,
pub subject: Option<Vec<u8>>,
pub signed: Option<Signed>,
}Expand description
A record: unsigned as a builder returns it, or signed or verified, when
signed holds what signing or verifying gave. The payload is a map.
subject names a domain record’s subject, None for none and on every
other type.
Fields§
§record_type: RecordType§version: [u8; 16]§created_at: u64§expires_at: u64§payload: Value§subject: Option<Vec<u8>>§signed: Option<Signed>Trait Implementations§
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnsafeUnpin for Record
impl UnwindSafe for Record
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