pub struct MsgExecuteContract {
pub coins: Vec<Coin>,
pub contract: String,
pub execute_msg: Value,
pub sender: String,
}
Expand description
Message: Exec Contract
Fields§
§coins: Vec<Coin>
§contract: String
§execute_msg: Value
§sender: String
Implementations§
Source§impl MsgExecuteContract
impl MsgExecuteContract
Sourcepub fn create_from_value(
sender: &str,
contract: &str,
execute_msg: &Value,
coins: &[Coin],
) -> Result<Message, TerraRustAPIError>
pub fn create_from_value( sender: &str, contract: &str, execute_msg: &Value, coins: &[Coin], ) -> Result<Message, TerraRustAPIError>
use provided base64 exec message
Sourcepub fn create_from_json(
sender: &str,
contract: &str,
execute_msg_json: &str,
coins: &[Coin],
) -> Result<Message, TerraRustAPIError>
pub fn create_from_json( sender: &str, contract: &str, execute_msg_json: &str, coins: &[Coin], ) -> Result<Message, TerraRustAPIError>
use provided base64 exec message
Trait Implementations§
Source§impl Debug for MsgExecuteContract
impl Debug for MsgExecuteContract
Source§impl Serialize for MsgExecuteContract
impl Serialize for MsgExecuteContract
impl MsgInternal for MsgExecuteContract
Auto Trait Implementations§
impl Freeze for MsgExecuteContract
impl RefUnwindSafe for MsgExecuteContract
impl Send for MsgExecuteContract
impl Sync for MsgExecuteContract
impl Unpin for MsgExecuteContract
impl UnwindSafe for MsgExecuteContract
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