Enum ftoken::ftoken_mod::msg::FtokenQueryAnswer [−][src]
pub enum FtokenQueryAnswer {
Show 13 variants
FtokenInfo {
ftkn_info: FtokenInfo,
},
FtokenConfig {
ftkn_conf: FtokenConf,
},
AuctionConfig {
auc_conf: AucConf,
},
ProposalConfig {
prop_conf: PropConf,
},
ReservationPrice {
ftokens_voted: Uint128,
reservation_price: Uint128,
},
ProposalList(Vec<PropInfoTally>),
BidList {
bid_amounts: Vec<Uint128>,
total_bids: u64,
},
NftPrivateMetadata(PrivateMetadataResponse),
NftDossier(NftDossierResponse),
StakedTokens(StakedTokens),
ReservationPriceVote(ResvVote),
ProposalVotes(VoteRegister),
Bid(BidInfo),
}
Variants
FtokenInfo
Fields
ftkn_info: FtokenInfo
FtokenConfig
Fields
ftkn_conf: FtokenConf
AuctionConfig
Fields
auc_conf: AucConf
ProposalConfig
Fields
prop_conf: PropConf
ReservationPrice
ProposalList(Vec<PropInfoTally>)
Tuple Fields
0: Vec<PropInfoTally>
BidList
NftPrivateMetadata(PrivateMetadataResponse)
Tuple Fields
NftDossier(NftDossierResponse)
Tuple Fields
StakedTokens(StakedTokens)
Tuple Fields
0: StakedTokens
ReservationPriceVote(ResvVote)
Tuple Fields
0: ResvVote
ProposalVotes(VoteRegister)
Tuple Fields
0: VoteRegister
Bid(BidInfo)
Tuple Fields
0: BidInfo
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 FtokenQueryAnswer
impl Send for FtokenQueryAnswer
impl Sync for FtokenQueryAnswer
impl Unpin for FtokenQueryAnswer
impl UnwindSafe for FtokenQueryAnswer
Blanket Implementations
Mutably borrows from an owned value. Read more