shard_core/commit.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Serialize, Deserialize, Debug, Clone)]
4pub struct Commit {
5 pub commit_id: String,
6 pub parents: Vec<String>,
7 pub manifests: Vec<String>,
8 pub author: String,
9 pub message: String,
10 pub timestamp: u64,
11 pub public_key: Option<String>,
12 pub signature: Option<String>,
13}