Struct fsnft_utils::FtokenInstance [−][src]
pub struct FtokenInstance {
pub ftkn_idx: u32,
pub depositor: HumanAddr,
pub ftoken_contr: ContractInfo,
pub init_nft_info: UndrNftInfo,
pub name: String,
pub symbol: String,
pub decimals: u8,
}
Expand description
ftoken contract information created at initialization, stored directly in fractionalizer contract, also within the FtokenInfo struct stored in ftoken contracts
Fields
ftkn_idx: u32
ftoken contract index from the fractionalizer contract’s perspective
depositor: HumanAddr
Address which deposited the nft
ftoken_contr: ContractInfo
Code hash and address of ftoken contract
init_nft_info: UndrNftInfo
Information on the underlying nft that was initially deposited
name: String
Name of ftoken
symbol: String
Symbol of ftoken
decimals: u8
Decimal of ftoken
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FtokenInstance
impl Send for FtokenInstance
impl Sync for FtokenInstance
impl Unpin for FtokenInstance
impl UnwindSafe for FtokenInstance
Blanket Implementations
Mutably borrows from an owned value. Read more