Enum ethers_core::types::BlockId [−][src]
pub enum BlockId {
Hash(H256),
Number(BlockNumber),
}Expand description
A Block Hash or Block Number
Variants
Hash(H256)A block hash
Tuple Fields of Hash
0: H256Number(BlockNumber)A block number
Tuple Fields of Number
0: BlockNumberTrait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BlockId
impl UnwindSafe for BlockId
Blanket Implementations
Mutably borrows from an owned value. Read more