pub trait AccountFactoryQueryFns<Chain>: CwOrchQuery<Chain, QueryMsg = QueryMsg>where
Chain: QueryHandler + ChainState,{
// Provided methods
fn config(&self) -> Result<ConfigResponse, 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 config(&self) -> Result<ConfigResponse, CwEnvError>
fn config(&self) -> Result<ConfigResponse, CwEnvError>
Automatically generated wrapper around QueryMsg::Config variant
Object Safety§
This trait is not object safe.