pub struct ResponseCompactParams {
pub model: Option<String>,
pub input: Option<String>,
pub instructions: Option<String>,
pub previous_response_id: Option<String>,
pub prompt_cache_key: Option<String>,
}Fields§
§model: Option<String>Model ID used to generate the response, like gpt-5 or o3.
input: Option<String>Text, image, or file inputs to the model, used to generate a response
instructions: Option<String>A system (or developer) message inserted into the model’s context. When used
previous_response_id: Option<String>The unique ID of the previous response to the model.
prompt_cache_key: Option<String>A key to use when reading from or writing to the prompt cache.
Trait Implementations§
Source§impl Clone for ResponseCompactParams
impl Clone for ResponseCompactParams
Source§fn clone(&self) -> ResponseCompactParams
fn clone(&self) -> ResponseCompactParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResponseCompactParams
impl Debug for ResponseCompactParams
Source§impl<'de> Deserialize<'de> for ResponseCompactParams
impl<'de> Deserialize<'de> for ResponseCompactParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ResponseCompactParams
impl RefUnwindSafe for ResponseCompactParams
impl Send for ResponseCompactParams
impl Sync for ResponseCompactParams
impl Unpin for ResponseCompactParams
impl UnsafeUnpin for ResponseCompactParams
impl UnwindSafe for ResponseCompactParams
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