Retrieve

Trait Retrieve 

Source
pub trait Retrieve<TIdt, TResponse>
where TIdt: Serialize + Sync + Send, TResponse: Serialize + DeserializeOwned, Self: WithApiClient + WithBasePath + Sync,
{ // Provided method fn retrieve( &self, ids: &[TIdt], ) -> impl Future<Output = Result<Vec<TResponse>>> + Send { ... } }
Expand description

Trait for retrieving items from CDF by id.

Provided Methods§

Source

fn retrieve( &self, ids: &[TIdt], ) -> impl Future<Output = Result<Vec<TResponse>>> + Send

Retrieve a list of items from CDF by id.

§Arguments
  • ids - IDs of items to retrieve.

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.

Implementors§