pub struct LlmGatewayResponse<T = ()> {
pub content: Option<String>,
pub object: Option<T>,
pub tool_calls: Vec<LlmToolCall>,
pub thinking: Option<String>,
}Expand description
Response from LLM gateway
Fields§
§content: Option<String>§object: Option<T>§tool_calls: Vec<LlmToolCall>§thinking: Option<String>Trait Implementations§
Source§impl<T: Clone> Clone for LlmGatewayResponse<T>
impl<T: Clone> Clone for LlmGatewayResponse<T>
Source§fn clone(&self) -> LlmGatewayResponse<T>
fn clone(&self) -> LlmGatewayResponse<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for LlmGatewayResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for LlmGatewayResponse<T>where
T: RefUnwindSafe,
impl<T> Send for LlmGatewayResponse<T>where
T: Send,
impl<T> Sync for LlmGatewayResponse<T>where
T: Sync,
impl<T> Unpin for LlmGatewayResponse<T>where
T: Unpin,
impl<T> UnwindSafe for LlmGatewayResponse<T>where
T: UnwindSafe,
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