Trait ink_wrapper_types::util::ToAccountId
source · pub trait ToAccountId {
// Required method
fn to_account_id(&self) -> AccountId;
}
Expand description
A convenience trait for converting different wrappers around an [u8; 32]
into an
ink_primitives::AccountId
. Implemented for any AsRef<[u8; 32]>
by default.