pub trait QueryResultExt {
// Required method
fn query_result(&self) -> Result<QueryResponse>;
}Expand description
Makes it easy to call .query_result() on any Serialize and standardizes so query() entry points also return a ContractResult
Required Methods§
Sourcefn query_result(&self) -> Result<QueryResponse>
fn query_result(&self) -> Result<QueryResponse>
Convert the value to its JSON representation