Trait abstract_std::manager::QueryMsgFns
source · pub trait QueryMsgFns<Chain: QueryHandler + ChainState>: CwOrchQuery<Chain, QueryMsg = QueryMsg> {
// Provided methods
fn module_versions(
&self,
ids: Vec<String>
) -> Result<ModuleVersionsResponse, CwOrchError> { ... }
fn module_addresses(
&self,
ids: Vec<String>
) -> Result<ModuleAddressesResponse, CwOrchError> { ... }
fn module_infos(
&self,
limit: Option<u8>,
start_after: Option<String>
) -> Result<ModuleInfosResponse, CwOrchError> { ... }
fn config(&self) -> Result<ConfigResponse, CwOrchError> { ... }
fn info(&self) -> Result<InfoResponse, CwOrchError> { ... }
fn sub_account_ids(
&self,
limit: Option<u8>,
start_after: Option<u32>
) -> Result<SubAccountIdsResponse, CwOrchError> { ... }
fn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwOrchError> { ... }
fn ownership(&self) -> Result<Ownership<String>, 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 module_versions(
&self,
ids: Vec<String>
) -> Result<ModuleVersionsResponse, CwOrchError>
fn module_versions( &self, ids: Vec<String> ) -> Result<ModuleVersionsResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::ModuleVersions variant
sourcefn module_addresses(
&self,
ids: Vec<String>
) -> Result<ModuleAddressesResponse, CwOrchError>
fn module_addresses( &self, ids: Vec<String> ) -> Result<ModuleAddressesResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::ModuleAddresses variant
sourcefn module_infos(
&self,
limit: Option<u8>,
start_after: Option<String>
) -> Result<ModuleInfosResponse, CwOrchError>
fn module_infos( &self, limit: Option<u8>, start_after: Option<String> ) -> Result<ModuleInfosResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::ModuleInfos variant
sourcefn config(&self) -> Result<ConfigResponse, CwOrchError>
fn config(&self) -> Result<ConfigResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::Config variant
sourcefn info(&self) -> Result<InfoResponse, CwOrchError>
fn info(&self) -> Result<InfoResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::Info variant
sourcefn sub_account_ids(
&self,
limit: Option<u8>,
start_after: Option<u32>
) -> Result<SubAccountIdsResponse, CwOrchError>
fn sub_account_ids( &self, limit: Option<u8>, start_after: Option<u32> ) -> Result<SubAccountIdsResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::SubAccountIds variant
sourcefn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwOrchError>
fn top_level_owner(&self) -> Result<TopLevelOwnerResponse, CwOrchError>
Automatically generated wrapper around QueryMsg::TopLevelOwner variant
Object Safety§
This trait is not object safe.