pub struct GeminiRunShellCommandArgs {
pub command: String,
pub description: Option<String>,
}Expand description
Gemini run_shell_command tool arguments
Gemini uses the same schema as domain model for run_shell_command.
§Format
{
"command": "ls -la",
"description": "List files in directory"
}Fields§
§command: String§description: Option<String>Implementations§
Source§impl GeminiRunShellCommandArgs
impl GeminiRunShellCommandArgs
Sourcepub fn to_execute_args(&self) -> ExecuteArgs
pub fn to_execute_args(&self) -> ExecuteArgs
Convert Gemini run_shell_command args to standard ExecuteArgs
Trait Implementations§
Source§impl Clone for GeminiRunShellCommandArgs
impl Clone for GeminiRunShellCommandArgs
Source§fn clone(&self) -> GeminiRunShellCommandArgs
fn clone(&self) -> GeminiRunShellCommandArgs
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 GeminiRunShellCommandArgs
impl Debug for GeminiRunShellCommandArgs
Source§impl<'de> Deserialize<'de> for GeminiRunShellCommandArgs
impl<'de> Deserialize<'de> for GeminiRunShellCommandArgs
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 GeminiRunShellCommandArgs
impl RefUnwindSafe for GeminiRunShellCommandArgs
impl Send for GeminiRunShellCommandArgs
impl Sync for GeminiRunShellCommandArgs
impl Unpin for GeminiRunShellCommandArgs
impl UnwindSafe for GeminiRunShellCommandArgs
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