pub struct MsgStoreCode {
pub sender: AccountId,
pub wasm_byte_code: Vec<u8>,
pub instantiate_permission: Option<AccessConfig>,
}Available on crate feature
cosmwasm only.Expand description
MsgStoreCode submit Wasm code to the system
Fields§
§sender: AccountIdSender is the that actor that signed the messages
wasm_byte_code: Vec<u8>WASMByteCode can be raw or gzip compressed
instantiate_permission: Option<AccessConfig>InstantiatePermission access control to apply on contract creation, optional
Trait Implementations§
Source§impl Clone for MsgStoreCode
impl Clone for MsgStoreCode
Source§fn clone(&self) -> MsgStoreCode
fn clone(&self) -> MsgStoreCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MsgStoreCode
impl Debug for MsgStoreCode
Source§impl From<MsgStoreCode> for MsgStoreCode
impl From<MsgStoreCode> for MsgStoreCode
Source§fn from(msg: MsgStoreCode) -> MsgStoreCode
fn from(msg: MsgStoreCode) -> MsgStoreCode
Converts to this type from the input type.
Source§impl Msg for MsgStoreCode
impl Msg for MsgStoreCode
Source§impl Ord for MsgStoreCode
impl Ord for MsgStoreCode
Source§fn cmp(&self, other: &MsgStoreCode) -> Ordering
fn cmp(&self, other: &MsgStoreCode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MsgStoreCode
impl PartialEq for MsgStoreCode
Source§impl PartialOrd for MsgStoreCode
impl PartialOrd for MsgStoreCode
Source§impl TryFrom<MsgStoreCode> for MsgStoreCode
impl TryFrom<MsgStoreCode> for MsgStoreCode
Source§fn try_from(proto: MsgStoreCode) -> Result<MsgStoreCode>
fn try_from(proto: MsgStoreCode) -> Result<MsgStoreCode>
Performs the conversion.
impl Eq for MsgStoreCode
impl StructuralPartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request