pub struct CommitScore {
pub difficulty: u64,
pub novelty: u64,
pub design_quality: u64,
}Expand description
Score for a commit (output of genesis_evaluate).
Fields§
§difficulty: u64§novelty: u64§design_quality: u64Trait Implementations§
Source§impl Clone for CommitScore
impl Clone for CommitScore
Source§fn clone(&self) -> CommitScore
fn clone(&self) -> CommitScore
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 CommitScore
impl Debug for CommitScore
Source§impl<'de> Deserialize<'de> for CommitScore
impl<'de> Deserialize<'de> for CommitScore
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 CommitScore
impl RefUnwindSafe for CommitScore
impl Send for CommitScore
impl Sync for CommitScore
impl Unpin for CommitScore
impl UnsafeUnpin for CommitScore
impl UnwindSafe for CommitScore
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