pub struct LockableConfig {
pub fee_params: FeeModelParams,
pub max_total_supply: u64,
pub min_account_balance: u64,
pub chain_id: u64,
pub protocol_version: u32,
pub allow_negative_balances: bool,
}Expand description
System configuration that can be made immutable
Fields§
§fee_params: FeeModelParamsFee model parameters
max_total_supply: u64Maximum total supply allowed
min_account_balance: u64Minimum balance required for accounts
chain_id: u64Network chain ID
protocol_version: u32Protocol version
allow_negative_balances: boolWhether negative balances are allowed (for special accounts)
Implementations§
Trait Implementations§
Source§impl Clone for LockableConfig
impl Clone for LockableConfig
Source§fn clone(&self) -> LockableConfig
fn clone(&self) -> LockableConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LockableConfig
impl Debug for LockableConfig
Source§impl Default for LockableConfig
impl Default for LockableConfig
Source§impl<'de> Deserialize<'de> for LockableConfig
impl<'de> Deserialize<'de> for LockableConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LockableConfig
impl RefUnwindSafe for LockableConfig
impl Send for LockableConfig
impl Sync for LockableConfig
impl Unpin for LockableConfig
impl UnwindSafe for LockableConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more