[TieredStorage] Make AccountMetaFlags and its fields public (#32004)
#### Problem AccountMetaFlags and its fields are required to be public as the visibility of their get functions generated by `bit_fields` are tied to the visibility of their fields, and the get functions will later be used to support the TieredAccountMeta for AccountMeta. #### Summary of Changes Make AccountMetaFlags and its fields public
This commit is contained in:
parent
74a9fc9641
commit
b1db4ccc9a
|
@ -7,13 +7,13 @@ use modular_bitfield::prelude::*;
|
|||
#[bitfield(bits = 32)]
|
||||
#[repr(C)]
|
||||
#[derive(Debug, Default, Copy, Clone, Eq, PartialEq)]
|
||||
pub(crate) struct AccountMetaFlags {
|
||||
pub struct AccountMetaFlags {
|
||||
/// whether the account meta has rent epoch
|
||||
has_rent_epoch: bool,
|
||||
pub has_rent_epoch: bool,
|
||||
/// whether the account meta has account hash
|
||||
has_account_hash: bool,
|
||||
pub has_account_hash: bool,
|
||||
/// whether the account meta has write version
|
||||
has_write_version: bool,
|
||||
pub has_write_version: bool,
|
||||
/// the reserved bits.
|
||||
reserved: B29,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue