Trait openai_req::GetRequest
source · pub trait GetRequest: DeserializeOwned {
const ENDPOINT: &'static str;
// Provided method
fn get<'life0, 'async_trait>(
client: &'life0 OpenAiClient
) -> Pin<Box<dyn Future<Output = Result<Self>> + Send + 'async_trait>>
where Self: Send + 'async_trait,
'life0: 'async_trait { ... }
}