#[non_exhaustive]pub struct ResponsesRenderOptions {
pub include_encrypted_reasoning: bool,
pub store: Option<bool>,
}Expand description
OpenAI Responses render options.
Default sends include: ["reasoning.encrypted_content"] and
store: false, as Codex and pi-ai do: encrypted reasoning is what makes
a reasoning item replayable under store: false or zero data retention.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.include_encrypted_reasoning: boolSend include: ["reasoning.encrypted_content"] (default true).
Turning it off leaves the field out entirely, so the response carries
no encrypted reasoning and a reasoning item cannot be meaningfully
replayed under store: false.
store: Option<bool>Value rendered as store; None omits the field (default
Some(false)). The host owns the data-retention choice this
represents.
Trait Implementations§
Source§impl Clone for ResponsesRenderOptions
impl Clone for ResponsesRenderOptions
impl Copy for ResponsesRenderOptions
Source§impl Debug for ResponsesRenderOptions
impl Debug for ResponsesRenderOptions
Source§impl Default for ResponsesRenderOptions
impl Default for ResponsesRenderOptions
impl Eq for ResponsesRenderOptions
Source§impl PartialEq for ResponsesRenderOptions
impl PartialEq for ResponsesRenderOptions
impl StructuralPartialEq for ResponsesRenderOptions
Auto Trait Implementations§
impl Freeze for ResponsesRenderOptions
impl RefUnwindSafe for ResponsesRenderOptions
impl Send for ResponsesRenderOptions
impl Sync for ResponsesRenderOptions
impl Unpin for ResponsesRenderOptions
impl UnsafeUnpin for ResponsesRenderOptions
impl UnwindSafe for ResponsesRenderOptions
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