Struct ink_env::test::DefaultAccounts
source · pub struct DefaultAccounts<T>where
T: Environment,{
pub alice: T::AccountId,
pub bob: T::AccountId,
pub charlie: T::AccountId,
pub django: T::AccountId,
pub eve: T::AccountId,
pub frank: T::AccountId,
}
Expand description
The default accounts.
Fields§
§alice: T::AccountId
The predefined ALICE
account holding substantial amounts of value.
bob: T::AccountId
The predefined BOB
account holding some amounts of value.
charlie: T::AccountId
The predefined CHARLIE
account holding some amounts of value.
django: T::AccountId
The predefined DJANGO
account holding no value.
eve: T::AccountId
The predefined EVE
account holding no value.
frank: T::AccountId
The predefined FRANK
account holding no value.
Auto Trait Implementations§
impl<T> Freeze for DefaultAccounts<T>
impl<T> RefUnwindSafe for DefaultAccounts<T>
impl<T> Send for DefaultAccounts<T>
impl<T> Sync for DefaultAccounts<T>
impl<T> Unpin for DefaultAccounts<T>
impl<T> UnwindSafe for DefaultAccounts<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
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.