Trait abstract_std::app::BaseQueryMsgFns
source · pub trait BaseQueryMsgFns<Chain: QueryHandler + ChainState, ModuleMsg>: CwOrchQuery<Chain, QueryMsg = QueryMsg<ModuleMsg>> {
// Provided methods
fn base_config(&self) -> Result<AppConfigResponse, CwOrchError> { ... }
fn base_admin(&self) -> Result<AdminResponse, CwOrchError> { ... }
fn module_data(&self) -> Result<ModuleDataResponse, CwOrchError> { ... }
fn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwOrchError> { ... }
}
Expand description
Automatically derived trait that allows you to call the variants of the message directly without the need to construct the struct yourself.
Provided Methods§
sourcefn base_config(&self) -> Result<AppConfigResponse, CwOrchError>
fn base_config(&self) -> Result<AppConfigResponse, CwOrchError>
Automatically generated wrapper around BaseQueryMsg::BaseConfig variant
sourcefn base_admin(&self) -> Result<AdminResponse, CwOrchError>
fn base_admin(&self) -> Result<AdminResponse, CwOrchError>
Automatically generated wrapper around BaseQueryMsg::BaseAdmin variant
sourcefn module_data(&self) -> Result<ModuleDataResponse, CwOrchError>
fn module_data(&self) -> Result<ModuleDataResponse, CwOrchError>
Automatically generated wrapper around BaseQueryMsg::ModuleData variant
sourcefn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwOrchError>
fn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwOrchError>
Automatically generated wrapper around BaseQueryMsg::TopLevelOwner variant
Object Safety§
This trait is not object safe.