pub struct InstantiateMsg {
pub name: String,
pub admin: Option<String>,
pub symbol: String,
pub decimals: u8,
pub initial_balances: Option<Vec<InitialBalance>>,
pub prng_seed: Binary,
pub config: Option<TokenConfig>,
pub supported_denoms: Option<Vec<String>>,
pub callback: Option<Callback<String>>,
}
Fields§
§name: String
§admin: Option<String>
§symbol: String
§decimals: u8
§initial_balances: Option<Vec<InitialBalance>>
§prng_seed: Binary
§config: Option<TokenConfig>
§supported_denoms: Option<Vec<String>>
§callback: Option<Callback<String>>
Trait Implementations§
source§impl Debug for InstantiateMsg
impl Debug for InstantiateMsg
source§impl<'de> Deserialize<'de> for InstantiateMsg
impl<'de> Deserialize<'de> for InstantiateMsg
source§fn 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
source§impl JsonSchema for InstantiateMsg
impl JsonSchema for InstantiateMsg
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn 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 moreAuto Trait Implementations§
impl RefUnwindSafe for InstantiateMsg
impl Send for InstantiateMsg
impl Sync for InstantiateMsg
impl Unpin for InstantiateMsg
impl UnwindSafe for InstantiateMsg
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