pub struct RuntimeIdentity {
pub protocol: AgentProtocolKind,
pub adapter_name: String,
pub adapter_version: Option<String>,
pub client_name: Option<String>,
pub client_version: Option<String>,
pub host_name: Option<String>,
pub actor_id: Option<String>,
pub session_id: Option<String>,
pub tool_call_id: Option<String>,
}Expand description
Runtime identity captured from an agent protocol request.
Fields§
§protocol: AgentProtocolKind§adapter_name: String§adapter_version: Option<String>§client_name: Option<String>§client_version: Option<String>§host_name: Option<String>§actor_id: Option<String>§session_id: Option<String>§tool_call_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for RuntimeIdentity
impl Clone for RuntimeIdentity
Source§fn clone(&self) -> RuntimeIdentity
fn clone(&self) -> RuntimeIdentity
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 RuntimeIdentity
impl Debug for RuntimeIdentity
Source§impl<'de> Deserialize<'de> for RuntimeIdentity
impl<'de> Deserialize<'de> for RuntimeIdentity
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 PartialEq for RuntimeIdentity
impl PartialEq for RuntimeIdentity
Source§fn eq(&self, other: &RuntimeIdentity) -> bool
fn eq(&self, other: &RuntimeIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeIdentity
impl Serialize for RuntimeIdentity
impl Eq for RuntimeIdentity
impl StructuralPartialEq for RuntimeIdentity
Auto Trait Implementations§
impl Freeze for RuntimeIdentity
impl RefUnwindSafe for RuntimeIdentity
impl Send for RuntimeIdentity
impl Sync for RuntimeIdentity
impl Unpin for RuntimeIdentity
impl UnsafeUnpin for RuntimeIdentity
impl UnwindSafe for RuntimeIdentity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.