pub struct ToolUse {
pub tool_id: Option<String>,
pub name: String,
pub spec: String,
pub unlinked: bool,
}Expand description
A tool a step uses: a tools-library entry by id, with a snapshot of its name and spec so printed and offline copies need no server.
Fields§
§tool_id: Option<String>§name: String§spec: String§unlinked: boolAdded without the library (no session); listed for linking.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolUse
impl<'de> Deserialize<'de> for ToolUse
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
impl StructuralPartialEq for ToolUse
Auto Trait Implementations§
impl Forget for ToolUse
impl Freeze for ToolUse
impl Move for ToolUse
impl RefUnwindSafe for ToolUse
impl Send for ToolUse
impl Sync for ToolUse
impl Unpin for ToolUse
impl UnsafeUnpin for ToolUse
impl UnwindSafe for ToolUse
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