pub struct CommitIndex {
pub commit_hash: String,
pub epoch: u64,
pub score: CommitScore,
pub contributor: String,
pub weight_delta: u64,
pub reviewers: Vec<String>,
pub meta_reviews: Vec<MetaReview>,
pub merge_votes: Vec<String>,
pub reject_votes: Vec<String>,
pub founder_override: bool,
pub warnings: Option<Vec<String>>,
}Expand description
A scored commit index (output of genesis_evaluate, stored in cache and trailers).
Fields§
§commit_hash: String§epoch: u64§score: CommitScore§contributor: String§weight_delta: u64§reviewers: Vec<String>§meta_reviews: Vec<MetaReview>§merge_votes: Vec<String>§reject_votes: Vec<String>§founder_override: bool§warnings: Option<Vec<String>>Trait Implementations§
Source§impl Clone for CommitIndex
impl Clone for CommitIndex
Source§fn clone(&self) -> CommitIndex
fn clone(&self) -> CommitIndex
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 CommitIndex
impl Debug for CommitIndex
Source§impl<'de> Deserialize<'de> for CommitIndex
impl<'de> Deserialize<'de> for CommitIndex
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 CommitIndex
impl RefUnwindSafe for CommitIndex
impl Send for CommitIndex
impl Sync for CommitIndex
impl Unpin for CommitIndex
impl UnsafeUnpin for CommitIndex
impl UnwindSafe for CommitIndex
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