Skip to main content

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>>> + CondSend { ... } }
Expand description

Trait for retrieving items from CDF by id.

Provided Methods§

Source

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

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".

Implementors§