From 9226c98dd5df0f2c52debebebcd9bf3bbd4e9c62 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Wed, 25 Jan 2023 15:28:50 +0000 Subject: [PATCH] zcash_client_sqlite: `impl {Clone, Copy, Debug, PartialEq, Eq} for BlockMeta` --- zcash_client_sqlite/CHANGELOG.md | 2 ++ zcash_client_sqlite/src/chain.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/zcash_client_sqlite/CHANGELOG.md b/zcash_client_sqlite/CHANGELOG.md index 7a5a0a646..688db793f 100644 --- a/zcash_client_sqlite/CHANGELOG.md +++ b/zcash_client_sqlite/CHANGELOG.md @@ -12,6 +12,8 @@ and this library adheres to Rust's notion of `WalletDb`. This function does not delete the files referenced by the rows that might be present and are deleted by this function call. - `zcash_client_sqlite::FsBlockDb::find_block` +- `zcash_client_sqlite::chain`: + - `impl {Clone, Copy, Debug, PartialEq, Eq} for BlockMeta` ### Changed - MSRV is now 1.60.0. diff --git a/zcash_client_sqlite/src/chain.rs b/zcash_client_sqlite/src/chain.rs index 40a1d1a01..e8bc2d504 100644 --- a/zcash_client_sqlite/src/chain.rs +++ b/zcash_client_sqlite/src/chain.rs @@ -76,6 +76,7 @@ where /// Data structure representing a row in the block metadata database. #[cfg(feature = "unstable")] +#[derive(Clone, Copy, Debug, PartialEq, Eq)] pub struct BlockMeta { pub height: BlockHeight, pub block_hash: BlockHash,