pub struct Account {
pub amount: NearToken,
pub contract_state: ContractState,
pub locked: NearToken,
pub storage_usage: StorageUsage,
}Fields§
§amount: NearToken§contract_state: ContractState§locked: NearToken§storage_usage: StorageUsageTrait Implementations§
Source§impl TryFrom<AccountView> for Account
impl TryFrom<AccountView> for Account
Source§type Error = DataConversionError
type Error = DataConversionError
The type returned in the event of a conversion error.
impl Eq for Account
impl StructuralPartialEq for Account
Auto Trait Implementations§
impl Freeze for Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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