Struct near_sdk_sim::ContractAccount [−][src]
pub struct ContractAccount<T> { pub user_account: UserAccount, pub contract: T, }
A account for a contract that includes a reference to the contract proxy and a user account
Fields
user_account: UserAccount
contract: T
Implementations
impl<T> ContractAccount<T>
[src]
impl<T> ContractAccount<T>
[src]pub fn account_id(&self) -> AccountId
[src]
pub fn valid_account_id(&self) -> ValidAccountId
[src]
pub fn account(&self) -> Option<Account>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for ContractAccount<T>
impl<T> !RefUnwindSafe for ContractAccount<T>
impl<T> !Send for ContractAccount<T>
impl<T> !Send for ContractAccount<T>
impl<T> !Sync for ContractAccount<T>
impl<T> !Sync for ContractAccount<T>
impl<T> Unpin for ContractAccount<T> where
T: Unpin,
impl<T> Unpin for ContractAccount<T> where
T: Unpin,
impl<T> !UnwindSafe for ContractAccount<T>
impl<T> !UnwindSafe for ContractAccount<T>
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,