pub trait QueryBuilderExt: QueryClient + Sized {
// Provided methods
fn query(
&self,
domain: impl Into<String>,
root: Uuid,
) -> QueryBuilder<'_, Self> { ... }
fn query_domain(&self, domain: impl Into<String>) -> QueryBuilder<'_, Self> { ... }
}Expand description
Extension trait for creating query builders.
Provided Methods§
Sourcefn query(&self, domain: impl Into<String>, root: Uuid) -> QueryBuilder<'_, Self>
fn query(&self, domain: impl Into<String>, root: Uuid) -> QueryBuilder<'_, Self>
Start building a query for the given domain and root.
Sourcefn query_domain(&self, domain: impl Into<String>) -> QueryBuilder<'_, Self>
fn query_domain(&self, domain: impl Into<String>) -> QueryBuilder<'_, Self>
Start building a query by domain only (use with by_correlation_id).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.