pub struct SessionRef {
pub producer: ProducerId,
pub state: StateId,
pub run_id: RunId,
pub request_id: RequestId,
pub session_id: SessionId,
}Expand description
Where an Agent review’s conversation lives: the producing user@host, the state (by its
stable id), and the Run, request and session ids. Its text form is
user@host/<state>/<runId>/<requestId>/<sessionId>.
Fields§
§producer: ProducerId§state: StateId§run_id: RunId§request_id: RequestId§session_id: SessionIdImplementations§
Source§impl SessionRef
impl SessionRef
Trait Implementations§
Source§impl Clone for SessionRef
impl Clone for SessionRef
Source§impl Debug for SessionRef
impl Debug for SessionRef
Source§impl<'de> Deserialize<'de> for SessionRef
impl<'de> Deserialize<'de> for SessionRef
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 Display for SessionRef
impl Display for SessionRef
impl Eq for SessionRef
Source§impl PartialEq for SessionRef
impl PartialEq for SessionRef
Source§impl Serialize for SessionRef
impl Serialize for SessionRef
impl StructuralPartialEq for SessionRef
Auto Trait Implementations§
impl Freeze for SessionRef
impl RefUnwindSafe for SessionRef
impl Send for SessionRef
impl Sync for SessionRef
impl Unpin for SessionRef
impl UnsafeUnpin for SessionRef
impl UnwindSafe for SessionRef
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.