pub struct ChatToResponsesContext {
pub response: ResponsesResponseContext,
}Expand description
Original Responses request and effective controls retained during request preparation. A stream cannot invent these fields from a Chat chunk.
Fields§
§response: ResponsesResponseContextTrait Implementations§
Source§impl From<ResponsesResponseContext> for ChatToResponsesContext
impl From<ResponsesResponseContext> for ChatToResponsesContext
Source§fn from(response: ResponsesResponseContext) -> Self
fn from(response: ResponsesResponseContext) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChatToResponsesContext
impl RefUnwindSafe for ChatToResponsesContext
impl Send for ChatToResponsesContext
impl Sync for ChatToResponsesContext
impl Unpin for ChatToResponsesContext
impl UnsafeUnpin for ChatToResponsesContext
impl UnwindSafe for ChatToResponsesContext
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