pub struct StreamToolCallDelta {
pub index: usize,
pub function: Option<StreamToolCallFunction>,
}Fields§
§index: usize§function: Option<StreamToolCallFunction>Trait Implementations§
Source§impl Clone for StreamToolCallDelta
impl Clone for StreamToolCallDelta
Source§fn clone(&self) -> StreamToolCallDelta
fn clone(&self) -> StreamToolCallDelta
Returns a duplicate of the value. Read more
1.0.0 · 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 StreamToolCallDelta
impl Debug for StreamToolCallDelta
Source§impl<'de> Deserialize<'de> for StreamToolCallDelta
impl<'de> Deserialize<'de> for StreamToolCallDelta
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 StreamToolCallDelta
impl RefUnwindSafe for StreamToolCallDelta
impl Send for StreamToolCallDelta
impl Sync for StreamToolCallDelta
impl Unpin for StreamToolCallDelta
impl UnwindSafe for StreamToolCallDelta
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