pub struct MsgStoreCode {
pub sender: String,
pub wasm_byte_code: String,
}
Expand description
Message: Exec Contract
Fields§
§sender: String
§wasm_byte_code: String
Implementations§
Source§impl MsgStoreCode
impl MsgStoreCode
Sourcepub fn create_from_b64(
sender: &str,
wasm_byte_code: &str,
) -> Result<Message, TerraRustAPIError>
pub fn create_from_b64( sender: &str, wasm_byte_code: &str, ) -> Result<Message, TerraRustAPIError>
use provided base64 exec message
Sourcepub fn create_from_file(
sender: &str,
file_name: &Path,
) -> Result<Message, TerraRustAPIError>
pub fn create_from_file( sender: &str, file_name: &Path, ) -> Result<Message, TerraRustAPIError>
use provided base64 exec message
Trait Implementations§
Source§impl Debug for MsgStoreCode
impl Debug for MsgStoreCode
Source§impl Serialize for MsgStoreCode
impl Serialize for MsgStoreCode
impl MsgInternal for MsgStoreCode
Auto Trait Implementations§
impl Freeze for MsgStoreCode
impl RefUnwindSafe for MsgStoreCode
impl Send for MsgStoreCode
impl Sync for MsgStoreCode
impl Unpin for MsgStoreCode
impl UnwindSafe for MsgStoreCode
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