Struct abstract_os::middleware::InstantiateMsg
source · pub struct InstantiateMsg<BaseMsg, AppMsg = Empty> {
pub base: BaseMsg,
pub app: AppMsg,
}Fields
base: BaseMsgbase instantiate information
app: AppMsgcustom instantiate msg attributes
Trait Implementations
sourceimpl<BaseMsg: Clone, AppMsg: Clone> Clone for InstantiateMsg<BaseMsg, AppMsg>
impl<BaseMsg: Clone, AppMsg: Clone> Clone for InstantiateMsg<BaseMsg, AppMsg>
sourcefn clone(&self) -> InstantiateMsg<BaseMsg, AppMsg>
fn clone(&self) -> InstantiateMsg<BaseMsg, AppMsg>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<BaseMsg: Debug, AppMsg: Debug> Debug for InstantiateMsg<BaseMsg, AppMsg>
impl<BaseMsg: Debug, AppMsg: Debug> Debug for InstantiateMsg<BaseMsg, AppMsg>
sourceimpl<'de, BaseMsg, AppMsg> Deserialize<'de> for InstantiateMsg<BaseMsg, AppMsg>where
BaseMsg: Deserialize<'de>,
AppMsg: Deserialize<'de>,
impl<'de, BaseMsg, AppMsg> Deserialize<'de> for InstantiateMsg<BaseMsg, AppMsg>where
BaseMsg: Deserialize<'de>,
AppMsg: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<BaseMsg: JsonSchema, AppMsg: JsonSchema> JsonSchema for InstantiateMsg<BaseMsg, AppMsg>
impl<BaseMsg: JsonSchema, AppMsg: JsonSchema> JsonSchema for InstantiateMsg<BaseMsg, AppMsg>
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresourceimpl<BaseMsg: PartialEq, AppMsg: PartialEq> PartialEq<InstantiateMsg<BaseMsg, AppMsg>> for InstantiateMsg<BaseMsg, AppMsg>
impl<BaseMsg: PartialEq, AppMsg: PartialEq> PartialEq<InstantiateMsg<BaseMsg, AppMsg>> for InstantiateMsg<BaseMsg, AppMsg>
sourcefn eq(&self, other: &InstantiateMsg<BaseMsg, AppMsg>) -> bool
fn eq(&self, other: &InstantiateMsg<BaseMsg, AppMsg>) -> bool
sourceimpl<BaseMsg, AppMsg> Serialize for InstantiateMsg<BaseMsg, AppMsg>where
BaseMsg: Serialize,
AppMsg: Serialize,
impl<BaseMsg, AppMsg> Serialize for InstantiateMsg<BaseMsg, AppMsg>where
BaseMsg: Serialize,
AppMsg: Serialize,
impl<BaseMsg, AppMsg> StructuralPartialEq for InstantiateMsg<BaseMsg, AppMsg>
Auto Trait Implementations
impl<BaseMsg, AppMsg> RefUnwindSafe for InstantiateMsg<BaseMsg, AppMsg>where
AppMsg: RefUnwindSafe,
BaseMsg: RefUnwindSafe,
impl<BaseMsg, AppMsg> Send for InstantiateMsg<BaseMsg, AppMsg>where
AppMsg: Send,
BaseMsg: Send,
impl<BaseMsg, AppMsg> Sync for InstantiateMsg<BaseMsg, AppMsg>where
AppMsg: Sync,
BaseMsg: Sync,
impl<BaseMsg, AppMsg> Unpin for InstantiateMsg<BaseMsg, AppMsg>where
AppMsg: Unpin,
BaseMsg: Unpin,
impl<BaseMsg, AppMsg> UnwindSafe for InstantiateMsg<BaseMsg, AppMsg>where
AppMsg: UnwindSafe,
BaseMsg: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more