Struct abstract_os::api::InstantiateMsg
source · [−]pub struct InstantiateMsg<I: Serialize = Empty> {
pub base: BaseInstantiateMsg,
pub custom: I,
}Expand description
Used by Abstract to instantiate the contract
The contract is then registered on the version control contract using [crate::version_control::ExecuteMsg::AddApi].
Fields
base: BaseInstantiateMsgbase api instantiate information
custom: Icustom instantiate msg attributes
Trait Implementations
sourceimpl<I: Clone + Serialize> Clone for InstantiateMsg<I>
impl<I: Clone + Serialize> Clone for InstantiateMsg<I>
sourcefn clone(&self) -> InstantiateMsg<I>
fn clone(&self) -> InstantiateMsg<I>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<I: Debug + Serialize> Debug for InstantiateMsg<I>
impl<I: Debug + Serialize> Debug for InstantiateMsg<I>
sourceimpl<'de, I: Serialize> Deserialize<'de> for InstantiateMsg<I>where
I: Deserialize<'de>,
impl<'de, I: Serialize> Deserialize<'de> for InstantiateMsg<I>where
I: 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<I: Serialize + JsonSchema> JsonSchema for InstantiateMsg<I>
impl<I: Serialize + JsonSchema> JsonSchema for InstantiateMsg<I>
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<I: PartialEq + Serialize> PartialEq<InstantiateMsg<I>> for InstantiateMsg<I>
impl<I: PartialEq + Serialize> PartialEq<InstantiateMsg<I>> for InstantiateMsg<I>
sourcefn eq(&self, other: &InstantiateMsg<I>) -> bool
fn eq(&self, other: &InstantiateMsg<I>) -> bool
sourceimpl<I: Serialize> Serialize for InstantiateMsg<I>where
I: Serialize,
impl<I: Serialize> Serialize for InstantiateMsg<I>where
I: Serialize,
impl<I: Serialize> StructuralPartialEq for InstantiateMsg<I>
Auto Trait Implementations
impl<I> RefUnwindSafe for InstantiateMsg<I>where
I: RefUnwindSafe,
impl<I> Send for InstantiateMsg<I>where
I: Send,
impl<I> Sync for InstantiateMsg<I>where
I: Sync,
impl<I> Unpin for InstantiateMsg<I>where
I: Unpin,
impl<I> UnwindSafe for InstantiateMsg<I>where
I: 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