pub struct BuiltCommand {
pub args: Vec<String>,
pub stdin_prompt: Option<String>,
}Expand description
CLI arguments and an optional prompt payload for stdin piping.
When the prompt exceeds PROMPT_STDIN_THRESHOLD, it is excluded from
the argument list and placed in stdin_prompt
instead. Each transport provider is responsible for piping it to the
claude process’s stdin.
Fields§
§args: Vec<String>Arguments to pass after the claude binary name.
stdin_prompt: Option<String>Prompt text that must be written to stdin. None when the prompt
is small enough to fit in the CLI arguments.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuiltCommand
impl RefUnwindSafe for BuiltCommand
impl Send for BuiltCommand
impl Sync for BuiltCommand
impl Unpin for BuiltCommand
impl UnsafeUnpin for BuiltCommand
impl UnwindSafe for BuiltCommand
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