pub struct AiderStreamJsonRunRequest { /* private fields */ }Implementations§
Source§impl AiderStreamJsonRunRequest
impl AiderStreamJsonRunRequest
pub fn new(prompt: impl Into<String>) -> Self
pub fn model(self, model: impl Into<String>) -> Self
pub fn working_dir(self, path: impl Into<PathBuf>) -> Self
pub fn prompt(&self) -> &str
pub fn model_name(&self) -> Option<&str>
pub fn working_directory(&self) -> Option<&Path>
Trait Implementations§
Source§impl Clone for AiderStreamJsonRunRequest
impl Clone for AiderStreamJsonRunRequest
Source§fn clone(&self) -> AiderStreamJsonRunRequest
fn clone(&self) -> AiderStreamJsonRunRequest
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 AiderStreamJsonRunRequest
impl Debug for AiderStreamJsonRunRequest
Source§impl PartialEq for AiderStreamJsonRunRequest
impl PartialEq for AiderStreamJsonRunRequest
Source§fn eq(&self, other: &AiderStreamJsonRunRequest) -> bool
fn eq(&self, other: &AiderStreamJsonRunRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AiderStreamJsonRunRequest
impl StructuralPartialEq for AiderStreamJsonRunRequest
Auto Trait Implementations§
impl Freeze for AiderStreamJsonRunRequest
impl RefUnwindSafe for AiderStreamJsonRunRequest
impl Send for AiderStreamJsonRunRequest
impl Sync for AiderStreamJsonRunRequest
impl Unpin for AiderStreamJsonRunRequest
impl UnsafeUnpin for AiderStreamJsonRunRequest
impl UnwindSafe for AiderStreamJsonRunRequest
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