pub struct RunRequest {Show 16 fields
pub provider: String,
pub model: String,
pub prompt: String,
pub is_command: bool,
pub system: Option<String>,
pub permission: String,
pub effort: Option<String>,
pub extra_thinking: Option<bool>,
pub approvals: bool,
pub interactive: bool,
pub workspace_roots: Vec<String>,
pub resume_session_id: Option<String>,
pub binary: Option<String>,
pub environment: BTreeMap<String, String>,
pub unchecked_args: Vec<String>,
pub metadata: BTreeMap<String, Value>,
}Fields§
§provider: String§model: String§prompt: String§is_command: bool§system: Option<String>§permission: String§effort: Option<String>§extra_thinking: Option<bool>§approvals: bool§interactive: bool§workspace_roots: Vec<String>§resume_session_id: Option<String>§binary: Option<String>Test/development override; production clients normally leave this unset.
environment: BTreeMap<String, String>§unchecked_args: Vec<String>§metadata: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for RunRequest
impl Clone for RunRequest
Source§fn clone(&self) -> RunRequest
fn clone(&self) -> RunRequest
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 RunRequest
impl Debug for RunRequest
Source§impl<'de> Deserialize<'de> for RunRequest
impl<'de> Deserialize<'de> for RunRequest
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
Source§impl PartialEq for RunRequest
impl PartialEq for RunRequest
Source§impl Serialize for RunRequest
impl Serialize for RunRequest
impl StructuralPartialEq for RunRequest
Auto Trait Implementations§
impl Freeze for RunRequest
impl RefUnwindSafe for RunRequest
impl Send for RunRequest
impl Sync for RunRequest
impl Unpin for RunRequest
impl UnsafeUnpin for RunRequest
impl UnwindSafe for RunRequest
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