Struct ethjson::test::DifficultyTests
source · [−]pub struct DifficultyTests {
pub path: Vec<PathBuf>,
pub chainspec: TestChainSpec,
}
Expand description
A set of difficulty tests
Fields
path: Vec<PathBuf>
Path of the json tests
chainspec: TestChainSpec
Chain spec to use
Trait Implementations
sourceimpl Debug for DifficultyTests
impl Debug for DifficultyTests
sourceimpl<'de> Deserialize<'de> for DifficultyTests
impl<'de> Deserialize<'de> for DifficultyTests
sourcefn 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
sourceimpl PartialEq<DifficultyTests> for DifficultyTests
impl PartialEq<DifficultyTests> for DifficultyTests
sourcefn eq(&self, other: &DifficultyTests) -> bool
fn eq(&self, other: &DifficultyTests) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DifficultyTests) -> bool
fn ne(&self, other: &DifficultyTests) -> bool
This method tests for !=
.
impl StructuralPartialEq for DifficultyTests
Auto Trait Implementations
impl RefUnwindSafe for DifficultyTests
impl Send for DifficultyTests
impl Sync for DifficultyTests
impl Unpin for DifficultyTests
impl UnwindSafe for DifficultyTests
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more