pub struct LocalShellToolCallOutput {
pub id: String,
pub output: String,
pub status: Option<LocalShellToolCallOutputStatus>,
}
Expand description
The output of a local shell tool call.
Fields§
§id: String
The unique ID of the local shell tool call generated by the model.
output: String
A JSON string of the output of the local shell tool call.
status: Option<LocalShellToolCallOutputStatus>
The status of the item. One of in_progress
, completed
, or incomplete
.
Implementations§
Source§impl LocalShellToolCallOutput
impl LocalShellToolCallOutput
Sourcepub fn builder() -> LocalShellToolCallOutputBuilder<((), (), ())>
pub fn builder() -> LocalShellToolCallOutputBuilder<((), (), ())>
Create a builder for building LocalShellToolCallOutput
.
On the builder, call .id(...)
, .output(...)
, .status(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of LocalShellToolCallOutput
.
Trait Implementations§
Source§impl Clone for LocalShellToolCallOutput
impl Clone for LocalShellToolCallOutput
Source§fn clone(&self) -> LocalShellToolCallOutput
fn clone(&self) -> LocalShellToolCallOutput
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 LocalShellToolCallOutput
impl Debug for LocalShellToolCallOutput
Source§impl<'de> Deserialize<'de> for LocalShellToolCallOutput
impl<'de> Deserialize<'de> for LocalShellToolCallOutput
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 LocalShellToolCallOutput
impl PartialEq for LocalShellToolCallOutput
Source§impl Serialize for LocalShellToolCallOutput
impl Serialize for LocalShellToolCallOutput
impl StructuralPartialEq for LocalShellToolCallOutput
Auto Trait Implementations§
impl Freeze for LocalShellToolCallOutput
impl RefUnwindSafe for LocalShellToolCallOutput
impl Send for LocalShellToolCallOutput
impl Sync for LocalShellToolCallOutput
impl Unpin for LocalShellToolCallOutput
impl UnwindSafe for LocalShellToolCallOutput
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