pub struct TurnToolOutput {
pub name: String,
pub namespace: Option<String>,
pub output: FunctionCallOutputBody,
}Expand description
A pre-computed tool output supplied when starting a turn
(TurnStartParams.toolOutput, 0.148 upstream).
Fields§
§name: String§namespace: Option<String>§output: FunctionCallOutputBodyTrait Implementations§
Source§impl Clone for TurnToolOutput
impl Clone for TurnToolOutput
Source§fn clone(&self) -> TurnToolOutput
fn clone(&self) -> TurnToolOutput
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 TurnToolOutput
impl Debug for TurnToolOutput
Source§impl<'de> Deserialize<'de> for TurnToolOutput
impl<'de> Deserialize<'de> for TurnToolOutput
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 TurnToolOutput
impl PartialEq for TurnToolOutput
Source§impl Serialize for TurnToolOutput
impl Serialize for TurnToolOutput
impl StructuralPartialEq for TurnToolOutput
Auto Trait Implementations§
impl Freeze for TurnToolOutput
impl RefUnwindSafe for TurnToolOutput
impl Send for TurnToolOutput
impl Sync for TurnToolOutput
impl Unpin for TurnToolOutput
impl UnsafeUnpin for TurnToolOutput
impl UnwindSafe for TurnToolOutput
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