pub struct ItemDelta {
pub thread_id: String,
pub turn_id: String,
pub item_id: String,
pub index: Option<u32>,
pub delta: ItemDeltaPayload,
pub extra: BTreeMap<String, Value>,
}Expand description
Streaming delta describing the next piece of an item.
Fields§
§thread_id: String§turn_id: String§item_id: String§index: Option<u32>§delta: ItemDeltaPayload§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ItemDelta
impl<'de> Deserialize<'de> for ItemDelta
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
Auto Trait Implementations§
impl Freeze for ItemDelta
impl RefUnwindSafe for ItemDelta
impl Send for ItemDelta
impl Sync for ItemDelta
impl Unpin for ItemDelta
impl UnsafeUnpin for ItemDelta
impl UnwindSafe for ItemDelta
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