pub struct PromptOrigin {
pub via: String,
pub tool_use_id: String,
pub command: String,
}Expand description
The RunExt call a sub-call belongs to: what a host answering for the
command, not for the model, judges by.
Fields§
§via: StringRunExt:<command>, as tool.around is told.
tool_use_id: StringThe RunExt call’s own tool_use id.
command: StringThe command line it ran.
Trait Implementations§
Source§impl Clone for PromptOrigin
impl Clone for PromptOrigin
Source§impl Debug for PromptOrigin
impl Debug for PromptOrigin
Source§impl<'de> Deserialize<'de> for PromptOrigin
impl<'de> Deserialize<'de> for PromptOrigin
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 Eq for PromptOrigin
Source§impl JsonSchema for PromptOrigin
impl JsonSchema for PromptOrigin
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PromptOrigin
impl PartialEq for PromptOrigin
Source§impl Serialize for PromptOrigin
impl Serialize for PromptOrigin
impl StructuralPartialEq for PromptOrigin
Auto Trait Implementations§
impl Forget for PromptOrigin
impl Freeze for PromptOrigin
impl Move for PromptOrigin
impl RefUnwindSafe for PromptOrigin
impl Send for PromptOrigin
impl Sync for PromptOrigin
impl Unpin for PromptOrigin
impl UnsafeUnpin for PromptOrigin
impl UnwindSafe for PromptOrigin
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