#[repr(C)]pub struct InternalArgs<'internal_args> {
pub env_ptr: NonNull<Env<'internal_args>>,
pub public_key_ptr: NonNull<<[u8; 32] as IoType>::PointerType>,
pub public_key_size: NonNull<u32>,
/* private fields */
}
Expand description
Data structure containing expected input to example_wallet_change_public_key()
, it is used internally by the contract, there should be no need to construct it explicitly except maybe in contract’s own tests
Fields§
§env_ptr: NonNull<Env<'internal_args>>
§public_key_ptr: NonNull<<[u8; 32] as IoType>::PointerType>
§public_key_size: NonNull<u32>
Size of the contents public_key_ptr
points to
Trait Implementations§
Auto Trait Implementations§
impl<'internal_args> Freeze for InternalArgs<'internal_args>
impl<'internal_args> !RefUnwindSafe for InternalArgs<'internal_args>
impl<'internal_args> !Send for InternalArgs<'internal_args>
impl<'internal_args> !Sync for InternalArgs<'internal_args>
impl<'internal_args> Unpin for InternalArgs<'internal_args>
impl<'internal_args> !UnwindSafe for InternalArgs<'internal_args>
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