Trait abstract_interface::VCQueryFns 
source · pub trait VCQueryFns<Chain, CwOrchQueryMsgType>: CwOrchQuery<Chain, QueryMsg = CwOrchQueryMsgType>{
    // Provided methods
    fn account_base(
        &self,
        account_id: AccountId,
    ) -> Result<AccountBaseResponse, CwEnvError> { ... }
    fn modules(
        &self,
        infos: Vec<ModuleInfo>,
    ) -> Result<ModulesResponse, CwEnvError> { ... }
    fn namespaces(
        &self,
        accounts: Vec<AccountId>,
    ) -> Result<NamespacesResponse, CwEnvError> { ... }
    fn namespace(
        &self,
        namespace: Namespace,
    ) -> Result<NamespaceResponse, CwEnvError> { ... }
    fn config(&self) -> Result<ConfigResponse, CwEnvError> { ... }
    fn module_list(
        &self,
        filter: Option<ModuleFilter>,
        limit: Option<u8>,
        start_after: Option<ModuleInfo>,
    ) -> Result<ModulesListResponse, CwEnvError> { ... }
    fn namespace_list(
        &self,
        limit: Option<u8>,
        start_after: Option<String>,
    ) -> Result<NamespaceListResponse, CwEnvError> { ... }
    fn ownership(&self) -> Result<Ownership<String>, 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 account_base(
    &self,
    account_id: AccountId,
) -> Result<AccountBaseResponse, CwEnvError>
 
fn account_base( &self, account_id: AccountId, ) -> Result<AccountBaseResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::AccountBase variant
sourcefn modules(&self, infos: Vec<ModuleInfo>) -> Result<ModulesResponse, CwEnvError>
 
fn modules(&self, infos: Vec<ModuleInfo>) -> Result<ModulesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Modules variant
sourcefn namespaces(
    &self,
    accounts: Vec<AccountId>,
) -> Result<NamespacesResponse, CwEnvError>
 
fn namespaces( &self, accounts: Vec<AccountId>, ) -> Result<NamespacesResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Namespaces variant
sourcefn namespace(
    &self,
    namespace: Namespace,
) -> Result<NamespaceResponse, CwEnvError>
 
fn namespace( &self, namespace: Namespace, ) -> Result<NamespaceResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Namespace variant
sourcefn config(&self) -> Result<ConfigResponse, CwEnvError>
 
fn config(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
sourcefn module_list(
    &self,
    filter: Option<ModuleFilter>,
    limit: Option<u8>,
    start_after: Option<ModuleInfo>,
) -> Result<ModulesListResponse, CwEnvError>
 
fn module_list( &self, filter: Option<ModuleFilter>, limit: Option<u8>, start_after: Option<ModuleInfo>, ) -> Result<ModulesListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::ModuleList variant
sourcefn namespace_list(
    &self,
    limit: Option<u8>,
    start_after: Option<String>,
) -> Result<NamespaceListResponse, CwEnvError>
 
fn namespace_list( &self, limit: Option<u8>, start_after: Option<String>, ) -> Result<NamespaceListResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::NamespaceList variant
Object Safety§
This trait is not object safe.