pub trait SearchItems<'a, TFilter, TSearch, TResponse>where
TFilter: Serialize + Sync + Send + 'a,
TSearch: Serialize + Sync + Send + 'a,
TResponse: Serialize + DeserializeOwned,
Self: WithApiClient + WithBasePath + Sync,{
// Provided method
fn search(
&'a self,
filter: TFilter,
search: TSearch,
limit: Option<u32>,
) -> impl Future<Output = Result<Vec<TResponse>>> + Send { ... }
}Expand description
Trait for resource types that allow filtering with fuzzy search.
Provided Methods§
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.