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