Enum quorum_vault_client::BlockId
source · pub enum BlockId {
Hash(H256),
Number(BlockNumber),
}
Expand description
Block Identifier
Variants§
Trait Implementations§
source§impl From<BlockNumber> for BlockId
impl From<BlockNumber> for BlockId
source§fn from(num: BlockNumber) -> BlockId
fn from(num: BlockNumber) -> BlockId
Converts to this type from the input type.
source§impl PartialEq<BlockId> for BlockId
impl PartialEq<BlockId> for BlockId
source§impl Serialize for BlockId
impl Serialize for BlockId
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more