pub struct GeminiStreamJsonRunRequest { /* private fields */ }Implementations§
Source§impl GeminiStreamJsonRunRequest
impl GeminiStreamJsonRunRequest
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 GeminiStreamJsonRunRequest
impl Clone for GeminiStreamJsonRunRequest
Source§fn clone(&self) -> GeminiStreamJsonRunRequest
fn clone(&self) -> GeminiStreamJsonRunRequest
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 GeminiStreamJsonRunRequest
impl Debug for GeminiStreamJsonRunRequest
Source§impl PartialEq for GeminiStreamJsonRunRequest
impl PartialEq for GeminiStreamJsonRunRequest
Source§fn eq(&self, other: &GeminiStreamJsonRunRequest) -> bool
fn eq(&self, other: &GeminiStreamJsonRunRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GeminiStreamJsonRunRequest
impl StructuralPartialEq for GeminiStreamJsonRunRequest
Auto Trait Implementations§
impl Freeze for GeminiStreamJsonRunRequest
impl RefUnwindSafe for GeminiStreamJsonRunRequest
impl Send for GeminiStreamJsonRunRequest
impl Sync for GeminiStreamJsonRunRequest
impl Unpin for GeminiStreamJsonRunRequest
impl UnsafeUnpin for GeminiStreamJsonRunRequest
impl UnwindSafe for GeminiStreamJsonRunRequest
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