Struct multiversx_chain_vm::scenario::model::CheckAccount
source · pub struct CheckAccount {
pub comment: Option<String>,
pub nonce: CheckValue<U64Value>,
pub balance: CheckValue<BigUintValue>,
pub esdt: CheckEsdtMap,
pub username: CheckValue<BytesValue>,
pub storage: CheckStorage,
pub code: CheckValue<BytesValue>,
pub owner: CheckValue<BytesValue>,
pub developer_rewards: CheckValue<BigUintValue>,
pub async_call_data: CheckValue<BytesValue>,
}
Fields§
§comment: Option<String>
§nonce: CheckValue<U64Value>
§balance: CheckValue<BigUintValue>
§esdt: CheckEsdtMap
§username: CheckValue<BytesValue>
§storage: CheckStorage
§code: CheckValue<BytesValue>
§owner: CheckValue<BytesValue>
§developer_rewards: CheckValue<BigUintValue>
§async_call_data: CheckValue<BytesValue>
Implementations§
source§impl CheckAccount
impl CheckAccount
pub fn new() -> Self
pub fn nonce<V>(self, nonce: V) -> Selfwhere U64Value: InterpretableFrom<V>,
pub fn balance<V>(self, balance_expr: V) -> Selfwhere BigUintValue: InterpretableFrom<V>,
pub fn esdt_balance<K, V>(self, token_id_expr: K, balance_expr: V) -> Selfwhere BytesKey: From<K>, BigUintValue: From<V>,
pub fn check_storage(self, key: &str, value: &str) -> Self
Trait Implementations§
source§impl Debug for CheckAccount
impl Debug for CheckAccount
source§impl Default for CheckAccount
impl Default for CheckAccount
source§fn default() -> CheckAccount
fn default() -> CheckAccount
Returns the “default value” for a type. Read more
source§impl InterpretableFrom<Box<CheckAccountRaw, Global>> for CheckAccount
impl InterpretableFrom<Box<CheckAccountRaw, Global>> for CheckAccount
fn interpret_from( from: Box<CheckAccountRaw>, context: &InterpreterContext ) -> Self
source§impl IntoRaw<CheckAccountRaw> for CheckAccount
impl IntoRaw<CheckAccountRaw> for CheckAccount
fn into_raw(self) -> CheckAccountRaw
Auto Trait Implementations§
impl CodecFromSelf for CheckAccount
impl RefUnwindSafe for CheckAccount
impl Send for CheckAccount
impl Sync for CheckAccount
impl Unpin for CheckAccount
impl UnwindSafe for CheckAccount
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