Struct primitives::account::BasicAccount
source · pub struct BasicAccount {
pub balance: U256,
pub nonce: U256,
pub staking_balance: U256,
pub collateral_for_storage: U256,
pub accumulated_interest_return: U256,
}
Expand description
Defined for Rlp serialization/deserialization.
Fields§
§balance: U256
§nonce: U256
§staking_balance: U256
This is the number of tokens used in staking.
collateral_for_storage: U256
This is the number of tokens used as collateral for storage, which will be returned to balance if the storage is released.
accumulated_interest_return: U256
This is the accumulated interest return.
Trait Implementations§
source§impl Decodable for BasicAccount
impl Decodable for BasicAccount
Auto Trait Implementations§
impl RefUnwindSafe for BasicAccount
impl Send for BasicAccount
impl Sync for BasicAccount
impl Unpin for BasicAccount
impl UnwindSafe for BasicAccount
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