pub struct TextDelta<'a> {
pub delta: &'a str,
pub aggregated: &'a str,
}Expand description
Streaming text delta.
Fields§
§delta: &'a strNewly received text.
aggregated: &'a strText accumulated for the turn.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TextDelta<'a>
impl<'a> RefUnwindSafe for TextDelta<'a>
impl<'a> Send for TextDelta<'a>
impl<'a> Sync for TextDelta<'a>
impl<'a> Unpin for TextDelta<'a>
impl<'a> UnsafeUnpin for TextDelta<'a>
impl<'a> UnwindSafe for TextDelta<'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