pub struct GenerationOptions {
pub codex_path: PathBuf,
pub codex_home: PathBuf,
pub model: String,
pub effort: ReasoningEffort,
pub timeout: Duration,
pub cancellation: Option<Arc<AtomicBool>>,
}Fields§
§codex_path: PathBuf§codex_home: PathBuf§model: String§effort: ReasoningEffort§timeout: Duration§cancellation: Option<Arc<AtomicBool>>Implementations§
Trait Implementations§
Source§impl Clone for GenerationOptions
impl Clone for GenerationOptions
Auto Trait Implementations§
impl Freeze for GenerationOptions
impl RefUnwindSafe for GenerationOptions
impl Send for GenerationOptions
impl Sync for GenerationOptions
impl Unpin for GenerationOptions
impl UnsafeUnpin for GenerationOptions
impl UnwindSafe for GenerationOptions
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