pub struct CodexCallParams {
pub prompt: String,
pub model: Option<String>,
pub cwd: Option<PathBuf>,
pub sandbox: Option<String>,
pub approval_policy: Option<String>,
pub profile: Option<String>,
pub config: BTreeMap<String, Value>,
}Expand description
Parameters for codex/codex (new session).
Fields§
§prompt: String§model: Option<String>§cwd: Option<PathBuf>§sandbox: Option<String>§approval_policy: Option<String>§profile: Option<String>§config: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for CodexCallParams
impl Clone for CodexCallParams
Source§fn clone(&self) -> CodexCallParams
fn clone(&self) -> CodexCallParams
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 moreSource§impl Debug for CodexCallParams
impl Debug for CodexCallParams
Source§impl<'de> Deserialize<'de> for CodexCallParams
impl<'de> Deserialize<'de> for CodexCallParams
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 CodexCallParams
impl RefUnwindSafe for CodexCallParams
impl Send for CodexCallParams
impl Sync for CodexCallParams
impl Unpin for CodexCallParams
impl UnsafeUnpin for CodexCallParams
impl UnwindSafe for CodexCallParams
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