Trait abstract_std::app::BaseQueryMsgFns
source · pub trait BaseQueryMsgFns<Chain: QueryHandler + ChainState, CwOrchQueryMsgType>: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>where
BaseQueryMsg: Into<CwOrchQueryMsgType>,{
// Provided methods
fn base_config(&self) -> Result<AppConfigResponse, CwEnvError> { ... }
fn base_admin(&self) -> Result<AdminResponse, CwEnvError> { ... }
fn module_data(&self) -> Result<ModuleDataResponse, CwEnvError> { ... }
fn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwEnvError> { ... }
}
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, CwEnvError>
fn base_config(&self) -> Result<AppConfigResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::BaseConfig variant
sourcefn base_admin(&self) -> Result<AdminResponse, CwEnvError>
fn base_admin(&self) -> Result<AdminResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::BaseAdmin variant
sourcefn module_data(&self) -> Result<ModuleDataResponse, CwEnvError>
fn module_data(&self) -> Result<ModuleDataResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::ModuleData variant
sourcefn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwEnvError>
fn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwEnvError>
Automatically generated wrapper around BaseQueryMsg::TopLevelOwner variant
Object Safety§
This trait is not object safe.