pub struct WalletInitCall<'a> {
pub entrypoint: ContractEntrypointID,
pub gas_limit: u64,
pub calldata: &'a [u8],
}Expand description
Optional initialization of the newly deployed contract, called by the wallet. A failed invocation rolls back funding and deployment; return bytes are discarded.
Fields§
§entrypoint: ContractEntrypointIDInitializer method on the new contract.
gas_limit: u64Gas budget for the initializer invocation.
calldata: &'a [u8]Encoded initializer arguments.
Trait Implementations§
Source§impl<'a> Clone for WalletInitCall<'a>
impl<'a> Clone for WalletInitCall<'a>
Source§fn clone(&self) -> WalletInitCall<'a>
fn clone(&self) -> WalletInitCall<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for WalletInitCall<'a>
Auto Trait Implementations§
impl<'a> Freeze for WalletInitCall<'a>
impl<'a> RefUnwindSafe for WalletInitCall<'a>
impl<'a> Send for WalletInitCall<'a>
impl<'a> Sync for WalletInitCall<'a>
impl<'a> Unpin for WalletInitCall<'a>
impl<'a> UnsafeUnpin for WalletInitCall<'a>
impl<'a> UnwindSafe for WalletInitCall<'a>
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