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: String
admin: HumanAddr
symbol: String
decimals: u8
prng_seed: Vec<u8>
total_supply_is_public: bool
deposit_is_enabled: bool
redeem_is_enabled: bool
mint_is_enabled: bool
burn_is_enabled: bool
contract_address: HumanAddr
Trait 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