pub struct CommitEntry {
pub cozies: Vec<Value>,
pub keys: Vec<KeyEntry>,
pub commit_id: String,
pub auth_root: String,
pub sr: String,
pub pr: String,
}Expand description
A stored commit bundle for the commit-based JSONL format.
Each line in the JSONL file represents one finalized commit containing:
cozies: Array of coz entries (signed coz messages)keys: Key material introduced in this commit (SPEC §5.2/§5.3)commit_id: Commit ID (Merkle root of commit’s coz czds)ar: Auth Root (derived from KR)sr: State Root (derived from AR and DR?)pr: Principal Root (derived from SR and CR)
The derived state digests enable efficient indexing and verification without replaying the full coz history.
Fields§
§cozies: Vec<Value>ParsedCoz entries in this commit bundle.
keys: Vec<KeyEntry>Key material introduced in this commit.
commit_id: StringCommit ID (per-commit Merkle root of coz czds).
auth_root: StringAuth Root after this commit.
sr: StringState Root: MR(AR, DR?).
pr: StringPrincipal Root after this commit.
Implementations§
Trait Implementations§
Source§impl Clone for CommitEntry
impl Clone for CommitEntry
Source§fn clone(&self) -> CommitEntry
fn clone(&self) -> CommitEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommitEntry
impl Debug for CommitEntry
Source§impl<'de> Deserialize<'de> for CommitEntry
impl<'de> Deserialize<'de> for CommitEntry
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 CommitEntry
impl RefUnwindSafe for CommitEntry
impl Send for CommitEntry
impl Sync for CommitEntry
impl Unpin for CommitEntry
impl UnsafeUnpin for CommitEntry
impl UnwindSafe for CommitEntry
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