pub struct Config {Show 14 fields
pub name: String,
pub symbol: String,
pub admin: CanonicalAddr,
pub mint_cnt: u32,
pub tx_cnt: u64,
pub token_cnt: u32,
pub status: u8,
pub token_supply_is_public: bool,
pub owner_is_public: bool,
pub sealed_metadata_is_enabled: bool,
pub unwrap_to_private: bool,
pub minter_may_update_metadata: bool,
pub owner_may_update_metadata: bool,
pub burn_is_enabled: bool,
}Expand description
Token contract config
Fields§
§name: Stringname of token contract
symbol: Stringtoken contract symbol
admin: CanonicalAddradmin address
mint_cnt: u32count of mint ops
tx_cnt: u64count of tx
token_cnt: u32token count
status: u8contract status
token_supply_is_public: boolare token IDs/count public
owner_is_public: boolis ownership public
sealed_metadata_is_enabled: boolis sealed metadata enabled
unwrap_to_private: boolshould Reveal unwrap to private metadata
minter_may_update_metadata: boolis a minter permitted to update a token’s metadata
owner_may_update_metadata: boolis the token’s owner permitted to update the token’s metadata
burn_is_enabled: boolis burn enabled
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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