pub struct ResolvedCommit {
pub hash: String,
pub author_email: String,
pub author_name: String,
pub subject: String,
pub committed_at: u64,
pub parent: Option<String>,
pub files: Vec<String>,
}Expand description
Metadata + changed files for one commit, resolved by SHA. Backs the
_prov/{commit_sha} provenance resolver (master-plan §2.4).
Fields§
§hash: StringFull 40-char commit SHA (canonicalised from the requested rev).
Commit author email — the writer’s did:nostr (the git-mark binds the
authenticated agent to commit author identity, see mark.rs).
Commit author name (the committer label, e.g. solid-pod-rs).
subject: StringCommit subject (the LDP method + path the write recorded).
committed_at: u64Author commit time, Unix seconds.
parent: Option<String>Parent commit SHA (the append-only chain link), or None for the
genesis commit.
files: Vec<String>Repo-relative paths the commit touched (sidecars are caller-filtered).
Trait Implementations§
Source§impl Clone for ResolvedCommit
impl Clone for ResolvedCommit
Source§fn clone(&self) -> ResolvedCommit
fn clone(&self) -> ResolvedCommit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResolvedCommit
impl Debug for ResolvedCommit
Source§impl<'de> Deserialize<'de> for ResolvedCommit
impl<'de> Deserialize<'de> for ResolvedCommit
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 ResolvedCommit
impl RefUnwindSafe for ResolvedCommit
impl Send for ResolvedCommit
impl Sync for ResolvedCommit
impl Unpin for ResolvedCommit
impl UnsafeUnpin for ResolvedCommit
impl UnwindSafe for ResolvedCommit
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