Type Alias radicle_cob::change::Entry

source ·
pub type Entry = Entry<Oid, Oid, ExtendedSignature>;
Expand description

A single change in the change graph.

Aliased Type§

struct Entry {
    pub id: Oid,
    pub revision: Oid,
    pub signature: ExtendedSignature,
    pub resource: Option<Oid>,
    pub parents: Vec<Oid>,
    pub related: Vec<Oid>,
    pub manifest: Manifest,
    pub contents: NonEmpty<Vec<u8>>,
    pub timestamp: u64,
}

Fields§

§id: Oid

The content address of the entry itself.

§revision: Oid

The content address of the tree of the entry.

§signature: ExtendedSignature

The cryptographic signature(s) and their public keys of the authors.

§resource: Option<Oid>

The parent resource that this change lives under. For example, this change could be for a patch of a project.

§parents: Vec<Oid>

Parent changes.

§related: Vec<Oid>

Other parents this change depends on.

§manifest: Manifest

The manifest describing the type of object as well as the type of history for this entry.

§contents: NonEmpty<Vec<u8>>

The contents that describe entry.

§timestamp: u64

Timestamp of change.