pub struct RemoteToolCallRequest {
pub protocol_version: u32,
pub tool_name: String,
pub call_path: String,
pub args: Value,
pub session_id: String,
pub tool_call_id: Option<String>,
pub replay_key: Option<String>,
pub attempt_number: u32,
pub max_attempts: u32,
pub headers: HashMap<String, String>,
}Fields§
§protocol_version: u32§tool_name: String§call_path: String§args: Value§session_id: String§tool_call_id: Option<String>§replay_key: Option<String>§attempt_number: u32§max_attempts: u32§headers: HashMap<String, String>Implementations§
Source§impl RemoteToolCallRequest
impl RemoteToolCallRequest
pub fn validate(&self) -> Result<(), RemoteProtocolError>
Trait Implementations§
Source§impl Clone for RemoteToolCallRequest
impl Clone for RemoteToolCallRequest
Source§fn clone(&self) -> RemoteToolCallRequest
fn clone(&self) -> RemoteToolCallRequest
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 RemoteToolCallRequest
impl Debug for RemoteToolCallRequest
Source§impl<'de> Deserialize<'de> for RemoteToolCallRequest
impl<'de> Deserialize<'de> for RemoteToolCallRequest
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 JsonSchema for RemoteToolCallRequest
impl JsonSchema for RemoteToolCallRequest
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RemoteToolCallRequest
impl PartialEq for RemoteToolCallRequest
Source§fn eq(&self, other: &RemoteToolCallRequest) -> bool
fn eq(&self, other: &RemoteToolCallRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RemoteToolCallRequest
impl Serialize for RemoteToolCallRequest
impl StructuralPartialEq for RemoteToolCallRequest
Auto Trait Implementations§
impl Freeze for RemoteToolCallRequest
impl RefUnwindSafe for RemoteToolCallRequest
impl Send for RemoteToolCallRequest
impl Sync for RemoteToolCallRequest
impl Unpin for RemoteToolCallRequest
impl UnsafeUnpin for RemoteToolCallRequest
impl UnwindSafe for RemoteToolCallRequest
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