Struct terra_rust_api::messages::wasm::MsgInstantiateContract
source · [−]pub struct MsgInstantiateContract {
pub admin: String,
pub code_id: u64,
pub sender: String,
pub init_coins: Vec<Coin>,
pub init_msg: Value,
}
Expand description
Message: Exec Contract
Fields
admin: String
code_id: u64
sender: String
init_coins: Vec<Coin>
init_msg: Value
Implementations
sourceimpl MsgInstantiateContract
impl MsgInstantiateContract
sourcepub fn create_from_json(
sender: &str,
admin: Option<String>,
code_id: u64,
init_msg: &str,
init_coins: Vec<Coin>
) -> Result<Message, TerraRustAPIError>
pub fn create_from_json(
sender: &str,
admin: Option<String>,
code_id: u64,
init_msg: &str,
init_coins: Vec<Coin>
) -> Result<Message, TerraRustAPIError>
create from JSON
Trait Implementations
sourceimpl Debug for MsgInstantiateContract
impl Debug for MsgInstantiateContract
sourceimpl Serialize for MsgInstantiateContract
impl Serialize for MsgInstantiateContract
impl MsgInternal for MsgInstantiateContract
Auto Trait Implementations
impl RefUnwindSafe for MsgInstantiateContract
impl Send for MsgInstantiateContract
impl Sync for MsgInstantiateContract
impl Unpin for MsgInstantiateContract
impl UnwindSafe for MsgInstantiateContract
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Serialize for T where
T: Serialize + ?Sized,
impl<T> Serialize for T where
T: Serialize + ?Sized,
pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more