pub struct MsgInstantiateContract {
pub admin: Option<String>,
pub code_id: u64,
pub sender: String,
pub init_coins: Vec<Coin>,
pub init_msg: Value,
}
Expand description
Message: Exec Contract
Fields§
§admin: Option<String>
§code_id: u64
§sender: String
§init_coins: Vec<Coin>
§init_msg: Value
Implementations§
Source§impl 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§
Source§impl Debug for MsgInstantiateContract
impl Debug for MsgInstantiateContract
Source§impl Serialize for MsgInstantiateContract
impl Serialize for MsgInstantiateContract
impl MsgInternal for MsgInstantiateContract
Auto Trait Implementations§
impl Freeze for MsgInstantiateContract
impl RefUnwindSafe for MsgInstantiateContract
impl Send for MsgInstantiateContract
impl Sync for MsgInstantiateContract
impl Unpin for MsgInstantiateContract
impl UnwindSafe for MsgInstantiateContract
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