pub struct LlmRequestWrapper {
pub request: LlmRequest,
}Expand description
Request type for LLM completion services.
Fields§
§request: LlmRequestThe LLM request to execute.
Trait Implementations§
Source§impl Clone for LlmRequestWrapper
impl Clone for LlmRequestWrapper
Source§fn clone(&self) -> LlmRequestWrapper
fn clone(&self) -> LlmRequestWrapper
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LlmRequestWrapper
impl Debug for LlmRequestWrapper
Source§impl Service<LlmRequestWrapper> for LlmService
impl Service<LlmRequestWrapper> for LlmService
Source§type Response = LlmResponseWrapper
type Response = LlmResponseWrapper
Responses given by the service.
Source§type Future = Pin<Box<dyn Future<Output = Result<<LlmService as Service<LlmRequestWrapper>>::Response, <LlmService as Service<LlmRequestWrapper>>::Error>> + Send>>
type Future = Pin<Box<dyn Future<Output = Result<<LlmService as Service<LlmRequestWrapper>>::Response, <LlmService as Service<LlmRequestWrapper>>::Error>> + Send>>
The future response value.
Auto Trait Implementations§
impl Freeze for LlmRequestWrapper
impl RefUnwindSafe for LlmRequestWrapper
impl Send for LlmRequestWrapper
impl Sync for LlmRequestWrapper
impl Unpin for LlmRequestWrapper
impl UnsafeUnpin for LlmRequestWrapper
impl UnwindSafe for LlmRequestWrapper
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more