Struct ftoken::state::Constants [−][src]
pub struct Constants {
pub name: String,
pub admin: HumanAddr,
pub symbol: String,
pub decimals: u8,
pub prng_seed: Vec<u8>,
pub total_supply_is_public: bool,
pub deposit_is_enabled: bool,
pub redeem_is_enabled: bool,
pub mint_is_enabled: bool,
pub burn_is_enabled: bool,
pub contract_address: HumanAddr,
}Fields
name: Stringadmin: HumanAddrsymbol: Stringdecimals: u8prng_seed: Vec<u8>total_supply_is_public: booldeposit_is_enabled: boolredeem_is_enabled: boolmint_is_enabled: boolburn_is_enabled: boolcontract_address: HumanAddrTrait Implementations
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
The name of the generated JSON Schema. Read more
Generates a JSON Schema for this type. Read more
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 more
Auto Trait Implementations
impl RefUnwindSafe for Constants
impl UnwindSafe for Constants
Blanket Implementations
Mutably borrows from an owned value. Read more
