From 3acf48e5be883bec157c02671429f26535288159 Mon Sep 17 00:00:00 2001 From: Yueh-Hsuan Chiang Date: Mon, 6 Nov 2023 19:25:25 -0800 Subject: [PATCH] Have IndexOffset implement Copy, Clone, Debug, Eq, and PartialEq. --- accounts-db/src/tiered_storage/index.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/accounts-db/src/tiered_storage/index.rs b/accounts-db/src/tiered_storage/index.rs index 88f6db85b12be2..3114e4df657bc1 100644 --- a/accounts-db/src/tiered_storage/index.rs +++ b/accounts-db/src/tiered_storage/index.rs @@ -41,6 +41,7 @@ pub enum AccountIndexFormat { /// The offset to an account/address entry in the accounts index block. /// This can be used to obtain the AccountOffset and address by looking through /// the accounts index block. +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct IndexOffset(usize); impl AccountIndexFormat {