Struct ethjson::test::DifficultyTestCase [−][src]
pub struct DifficultyTestCase {
pub parent_timestamp: Uint,
pub parent_difficulty: Uint,
pub parent_uncles: H256,
pub current_timestamp: Uint,
pub current_difficulty: Uint,
pub current_block_number: Uint,
}Blockchain test header deserializer.
Fields
parent_timestamp: Uint
Parent timestamp.
parent_difficulty: Uint
Parent difficulty.
parent_uncles: H256
Parent uncle hash.
current_timestamp: Uint
Current timestamp.
current_difficulty: Uint
Current difficulty.
current_block_number: Uint
Current block number.
Trait Implementations
impl Debug for DifficultyTestCase[src]
impl Debug for DifficultyTestCasefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for DifficultyTestCase[src]
impl PartialEq for DifficultyTestCasefn eq(&self, other: &DifficultyTestCase) -> bool[src]
fn eq(&self, other: &DifficultyTestCase) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DifficultyTestCase) -> bool[src]
fn ne(&self, other: &DifficultyTestCase) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for DifficultyTestCase
impl Send for DifficultyTestCaseimpl Sync for DifficultyTestCase
impl Sync for DifficultyTestCase