pub struct RunInfo {
pub run_id: Uuid,
}Expand description
Class that contains metadata for a single execution of a Chain or model.
Defined for backwards compatibility with older versions of langchain_core.
This model will likely be deprecated in the future.
Users can acquire the run_id information from callbacks or via run_id information present in the astream_event API (depending on the use case).
Fields§
§run_id: UuidA unique identifier for the model or chain run.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunInfo
impl<'de> Deserialize<'de> for RunInfo
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
impl Eq for RunInfo
impl StructuralPartialEq for RunInfo
Auto Trait Implementations§
impl Freeze for RunInfo
impl RefUnwindSafe for RunInfo
impl Send for RunInfo
impl Sync for RunInfo
impl Unpin for RunInfo
impl UnwindSafe for RunInfo
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.