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.
handle: &'a ToolHandleTool 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.
impl<'a> EndToolHandleParams<'a>impl<'a> EndToolHandleParams<'a>
builderpub 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.
impl<'a> Clone for EndToolHandleParams<'a>impl<'a> Clone for EndToolHandleParams<'a>
clonefn clone(&self) -> EndToolHandleParams<'a>
clone_fromfn clone_from(&mut self, source: &Self)
impl<'a> Debug for EndToolHandleParams<'a>impl<'a> Debug for EndToolHandleParams<'a>
fmtfn fmt(&self, f: &mut Formatter<'_>) -> Result