pub struct Context<T> {
pub worker: Worker<T>,
pub accounts: HashMap<String, Account>,
pub contracts: HashMap<&'static str, Contract>,
/* private fields */
}Fields§
§worker: Worker<T>§accounts: HashMap<String, Account>§contracts: HashMap<&'static str, Contract>Implementations§
Source§impl<Network: DevNetwork + TopLevelAccountCreator + 'static> Context<Network>
impl<Network: DevNetwork + TopLevelAccountCreator + 'static> Context<Network>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Context<T>
impl<T> !RefUnwindSafe for Context<T>
impl<T> Send for Context<T>
impl<T> Sync for Context<T>
impl<T> Unpin for Context<T>
impl<T> !UnwindSafe for Context<T>
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