pub struct RunContext {
pub thread_id: String,
pub run_id: String,
pub parent_run_id: Option<String>,
}Expand description
Run-scoped metadata extracted from RunAgentInput.
Fields§
§thread_id: String§run_id: String§parent_run_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for RunContext
impl Clone for RunContext
Source§fn clone(&self) -> RunContext
fn clone(&self) -> RunContext
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 RunContext
impl Debug for RunContext
Source§impl From<&RunAgentInput> for RunContext
impl From<&RunAgentInput> for RunContext
Source§fn from(input: &RunAgentInput) -> Self
fn from(input: &RunAgentInput) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RunContext
impl PartialEq for RunContext
Source§fn eq(&self, other: &RunContext) -> bool
fn eq(&self, other: &RunContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RunContext
impl StructuralPartialEq for RunContext
Auto Trait Implementations§
impl Freeze for RunContext
impl RefUnwindSafe for RunContext
impl Send for RunContext
impl Sync for RunContext
impl Unpin for RunContext
impl UnsafeUnpin for RunContext
impl UnwindSafe for RunContext
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