pub struct ToolCallBlock {
pub event_id: Uuid,
pub timestamp: DateTime<Utc>,
pub provider_call_id: Option<String>,
pub content: ToolCallPayload,
}Expand description
Tool invocation request with timing information.
Fields§
§event_id: UuidID of the source event.
timestamp: DateTime<Utc>When the tool was invoked.
provider_call_id: Option<String>Provider-specific call identifier, if available.
content: ToolCallPayloadTool invocation details.
Trait Implementations§
Source§impl Clone for ToolCallBlock
impl Clone for ToolCallBlock
Source§fn clone(&self) -> ToolCallBlock
fn clone(&self) -> ToolCallBlock
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 ToolCallBlock
impl Debug for ToolCallBlock
Source§impl<'de> Deserialize<'de> for ToolCallBlock
impl<'de> Deserialize<'de> for ToolCallBlock
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolCallBlock, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolCallBlock, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ToolCallBlock
impl Serialize for ToolCallBlock
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ToolCallBlock
impl RefUnwindSafe for ToolCallBlock
impl Send for ToolCallBlock
impl Sync for ToolCallBlock
impl Unpin for ToolCallBlock
impl UnwindSafe for ToolCallBlock
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