Enum ethcore_light::request::HashOrNumber
[−]
[src]
pub enum HashOrNumber { Hash(H256), Number(u64), }
Either a hash or a number.
Variants
Hash(H256)
Block hash variant.
Number(u64)
Block number variant.
Trait Implementations
impl Debug for HashOrNumber
[src]
impl Clone for HashOrNumber
[src]
fn clone(&self) -> HashOrNumber
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for HashOrNumber
[src]
fn eq(&self, __arg_0: &HashOrNumber) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HashOrNumber) -> bool
This method tests for !=
.