pub struct Record {
pub entry: Entry,
pub prev: String,
pub hash: String,
pub sig_b64: String,
pub kid: Option<String>,
}Fields§
§entry: Entry§prev: String§hash: String§sig_b64: String§kid: Option<String>The fingerprint (hex Ed25519 public key) of the key that signed this record —
so a KEY-ROTATED log stays verifiable: each record names which key to check
it against, and a keyring verify picks that key. None on legacy records
written before rotation support (they are all signed by the ledger’s original
key). Envelope-only — NOT part of the hashed entry, so adding it left every
existing record’s hash and signature unchanged.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Record
impl<'de> Deserialize<'de> for Record
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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