abstract_std::adapter

Type Alias QueryMsg

Source
pub type QueryMsg<ModuleMsg = Empty> = QueryMsg<BaseQueryMsg, ModuleMsg>;

Aliased Type§

enum QueryMsg<ModuleMsg = Empty> {
    Base(BaseQueryMsg),
    Module(ModuleMsg),
}

Variants§

§

Base(BaseQueryMsg)

A query to the base.

§

Module(ModuleMsg)

Custom query

Trait Implementations§

Source§

impl<T> From<BaseQueryMsg> for QueryMsg<T>

Source§

fn from(base: BaseQueryMsg) -> Self

Converts to this type from the input type.
Source§

impl<T: AdapterQueryMsg> From<T> for QueryMsg<T>

Source§

fn from(module: T) -> Self

Converts to this type from the input type.