[][src]Struct pachyderm::pfs::CommitInfo

pub struct CommitInfo {
    pub commit: Option<Commit>,
    pub branch: Option<Branch>,
    pub origin: Option<CommitOrigin>,
    pub description: String,
    pub parent_commit: Option<Commit>,
    pub child_commits: Vec<Commit>,
    pub started: Option<Timestamp>,
    pub finished: Option<Timestamp>,
    pub size_bytes: u64,
    pub provenance: Vec<CommitProvenance>,
    pub ready_provenance: i64,
    pub subvenance: Vec<CommitRange>,
    pub tree: Option<Object>,
    pub trees: Vec<Object>,
    pub datums: Option<Object>,
    pub subvenant_commits_success: i64,
    pub subvenant_commits_failure: i64,
    pub subvenant_commits_total: i64,
}

CommitInfo is the main data structure representing a commit in etcd

Fields

commit: Option<Commit>branch: Option<Branch>origin: Option<CommitOrigin>description: String

description is a user-provided script describing this commit

parent_commit: Option<Commit>child_commits: Vec<Commit>started: Option<Timestamp>finished: Option<Timestamp>size_bytes: u64provenance: Vec<CommitProvenance>

the commits and their original branches on which this commit is provenant

ready_provenance: i64

ReadyProvenance is the number of provenant commits which have been finished, if ReadyProvenance == len(Provenance) then the commit is ready to be processed by pps.

subvenance: Vec<CommitRange>tree: Option<Object>

this is the block that stores the serialized form of a tree that represents the entire file system hierarchy of the repo at this commit If this is nil, then the commit is either open (in which case 'finished' will also be nil) or is the output commit of a failed job (in which case 'finished' will have a value -- the end time of the job)

trees: Vec<Object>datums: Option<Object>subvenant_commits_success: i64subvenant_commits_failure: i64subvenant_commits_total: i64

Trait Implementations

impl Clone for CommitInfo[src]

impl Debug for CommitInfo[src]

impl Default for CommitInfo[src]

impl Message for CommitInfo[src]

impl PartialEq<CommitInfo> for CommitInfo[src]

impl StructuralPartialEq for CommitInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]