pub struct ReasoningDelta<'a> {
pub id: &'a str,
pub provider_id: Option<&'a str>,
pub delta: &'a str,
pub aggregated: &'a str,
}Expand description
Streaming reasoning delta.
Fields§
§id: &'a strRig-generated correlator for this reasoning part. It is stable across the part’s deltas and eventual completed reasoning item, but is never persisted as a provider-issued reasoning id.
provider_id: Option<&'a str>Provider-issued durable reasoning item id, when the wire provides one.
delta: &'a strNewly received reasoning fragment.
aggregated: &'a strReasoning text accumulated for this reasoning part through this delta.
Trait Implementations§
Source§impl<'a> Clone for ReasoningDelta<'a>
impl<'a> Clone for ReasoningDelta<'a>
Source§fn clone(&self) -> ReasoningDelta<'a>
fn clone(&self) -> ReasoningDelta<'a>
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 moreimpl<'a> Copy for ReasoningDelta<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReasoningDelta<'a>
impl<'a> RefUnwindSafe for ReasoningDelta<'a>
impl<'a> Send for ReasoningDelta<'a>
impl<'a> Sync for ReasoningDelta<'a>
impl<'a> Unpin for ReasoningDelta<'a>
impl<'a> UnsafeUnpin for ReasoningDelta<'a>
impl<'a> UnwindSafe for ReasoningDelta<'a>
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