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 code_metadata: 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>
§code_metadata: 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 code<V>(self, code_expr: V) -> Selfwhere
BytesValue: InterpretableFrom<V>,
pub fn code_metadata<V>(self, code_metadata_expr: V) -> Selfwhere
BytesValue: InterpretableFrom<V>,
pub fn esdt_balance<K, V>(self, token_id_expr: K, balance_expr: V) -> Self
pub fn esdt_nft_balance_and_attributes<K, N, V, T>( self, token_id_expr: K, nonce_expr: N, balance_expr: V, attributes_expr: Option<T>, ) -> Self
pub fn check_storage(self, key: &str, value: &str) -> Self
Trait Implementations§
Source§impl Clone for CheckAccount
impl Clone for CheckAccount
Source§fn clone(&self) -> CheckAccount
fn clone(&self) -> CheckAccount
Returns a copy 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 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>> for CheckAccount
impl InterpretableFrom<Box<CheckAccountRaw>> 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 Freeze 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more