[][src]Enum terra_cosmwasm::TerraQuery

pub enum TerraQuery {
    Swap {
        offer_coin: Coin,
        ask_denom: String,
    },
    TaxRate {},
    TaxCap {
        denom: String,
    },
    ExchangeRates {
        base_denom: String,
        quote_denoms: Vec<String>,
    },
}

TerraQuery is defines avaliable query datas

Variants

Swap

Fields of Swap

offer_coin: Coinask_denom: String
TaxRate

Fields of TaxRate

TaxCap

Fields of TaxCap

denom: String
ExchangeRates

Fields of ExchangeRates

base_denom: Stringquote_denoms: Vec<String>

Trait Implementations

impl Clone for TerraQuery[src]

impl Debug for TerraQuery[src]

impl<'de> Deserialize<'de> for TerraQuery[src]

impl JsonSchema for TerraQuery[src]

impl PartialEq<TerraQuery> for TerraQuery[src]

impl Serialize for TerraQuery[src]

impl StructuralPartialEq for TerraQuery[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.