pub struct LlmRequestScope {
pub session_id: String,
pub agent_frame_id: String,
pub request_id: String,
}Expand description
Request/response/error vocabulary of Provider::complete,
re-exported so hosts can implement provider decorators (admission
gates, metrics taps) against the facade alone.
Fields§
§session_id: StringLogical Lash session.
agent_frame_id: StringDurable agent frame/branch inside the session. Providers must use this when caching continuation state so frame switches do not inherit each other’s provider-local response ids.
request_id: StringOne provider call, suitable for request correlation/idempotency.
Implementations§
Trait Implementations§
Source§impl Clone for LlmRequestScope
impl Clone for LlmRequestScope
Source§fn clone(&self) -> LlmRequestScope
fn clone(&self) -> LlmRequestScope
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 LlmRequestScope
impl Debug for LlmRequestScope
Source§impl<'de> Deserialize<'de> for LlmRequestScope
impl<'de> Deserialize<'de> for LlmRequestScope
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LlmRequestScope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LlmRequestScope, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LlmRequestScope
Source§impl From<LlmRequestScope> for RemoteLlmRequestScope
impl From<LlmRequestScope> for RemoteLlmRequestScope
Source§fn from(value: LlmRequestScope) -> RemoteLlmRequestScope
fn from(value: LlmRequestScope) -> RemoteLlmRequestScope
Converts to this type from the input type.
Source§impl From<RemoteLlmRequestScope> for LlmRequestScope
impl From<RemoteLlmRequestScope> for LlmRequestScope
Source§fn from(value: RemoteLlmRequestScope) -> LlmRequestScope
fn from(value: RemoteLlmRequestScope) -> LlmRequestScope
Converts to this type from the input type.
Source§impl PartialEq for LlmRequestScope
impl PartialEq for LlmRequestScope
Source§fn eq(&self, other: &LlmRequestScope) -> bool
fn eq(&self, other: &LlmRequestScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LlmRequestScope
impl Serialize for LlmRequestScope
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
impl StructuralPartialEq for LlmRequestScope
Auto Trait Implementations§
impl Freeze for LlmRequestScope
impl RefUnwindSafe for LlmRequestScope
impl Send for LlmRequestScope
impl Sync for LlmRequestScope
impl Unpin for LlmRequestScope
impl UnsafeUnpin for LlmRequestScope
impl UnwindSafe for LlmRequestScope
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