Struct ink_env::call::CreateParams[][src]

pub struct CreateParams<E, Args, Salt, R> where
    E: Environment
{ /* fields omitted */ }

Builds up contract instantiations.

Implementations

impl<E, Args, Salt, R> CreateParams<E, Args, Salt, R> where
    E: Environment,
    Args: Encode,
    Salt: AsRef<[u8]>,
    R: FromAccountId<E>, 
[src]

pub fn instantiate(&self) -> Result<R, Error>[src]

Instantiates the contract and returns its account ID back to the caller.

Trait Implementations

impl<E: Debug, Args: Debug, Salt: Debug, R: Debug> Debug for CreateParams<E, Args, Salt, R> where
    E: Environment,
    E::Hash: Debug,
    E::Balance: Debug
[src]

Auto Trait Implementations

impl<E, Args, Salt, R> RefUnwindSafe for CreateParams<E, Args, Salt, R> where
    Args: RefUnwindSafe,
    Salt: RefUnwindSafe,
    <E as Environment>::Balance: RefUnwindSafe,
    <E as Environment>::Hash: RefUnwindSafe

impl<E, Args, Salt, R> Send for CreateParams<E, Args, Salt, R> where
    Args: Send,
    Salt: Send,
    <E as Environment>::Balance: Send,
    <E as Environment>::Hash: Send

impl<E, Args, Salt, R> Sync for CreateParams<E, Args, Salt, R> where
    Args: Sync,
    Salt: Sync,
    <E as Environment>::Balance: Sync,
    <E as Environment>::Hash: Sync

impl<E, Args, Salt, R> Unpin for CreateParams<E, Args, Salt, R> where
    Args: Unpin,
    Salt: Unpin,
    <E as Environment>::Balance: Unpin,
    <E as Environment>::Hash: Unpin

impl<E, Args, Salt, R> UnwindSafe for CreateParams<E, Args, Salt, R> where
    Args: UnwindSafe,
    Salt: UnwindSafe,
    <E as Environment>::Balance: UnwindSafe,
    <E as Environment>::Hash: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,