Struct EndTool Handle Params
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct EndToolHandleParams<'a> {
pub handle: &'a ToolHandle,
pub data: Option<Json>,
pub metadata: Option<Json>,
pub timestamp: Option<DateTime<Utc>>,
}
Builder parameters for NemoRelayContextState::build_tool_end_event.
Fields
handle: &'a ToolHandle
Tool handle to serialize into the emitted end event.
data: Option<Json>
Optional data payload merged over the handle data.
metadata: Option<Json>
Optional metadata payload merged over the handle metadata.
timestamp: Option<DateTime<Utc>>
Optional timestamp recorded on the emitted end event. When omitted, the runtime records the current UTC time, or one microsecond after the handle start time if the current time is not later.
Implementations
impl<'a> EndToolHandleParams<'a>
impl<'a> EndToolHandleParams<'a>
builder
pub fn builder() -> EndToolHandleParamsBuilder<'a, ((), (), (), ())>
Create a builder for building EndToolHandleParams. On the builder, call .handle(...), .data(...)(optional), .metadata(...)(optional), .timestamp(...)(optional) to set the values of the fields. Finally, call .build() to create the instance of EndToolHandleParams.
Trait Implementations
impl<'a> Clone for EndToolHandleParams<'a>
impl<'a> Clone for EndToolHandleParams<'a>
clone
fn clone(&self) -> EndToolHandleParams<'a>
clone_from
fn clone_from(&mut self, source: &Self)
impl<'a> Debug for EndToolHandleParams<'a>
impl<'a> Debug for EndToolHandleParams<'a>
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result