pub struct StreamFunctionCall {
pub name: Option<String>,
pub arguments: Option<String>,
}Expand description
Streaming function call fragment.
§Fields
name- Function name (first chunk only)arguments- Arguments fragment (sent incrementally)
Fields§
§name: Option<String>Function name (only present in the first chunk)
arguments: Option<String>Arguments (sent incrementally across chunks)
Trait Implementations§
Source§impl Clone for StreamFunctionCall
impl Clone for StreamFunctionCall
Source§fn clone(&self) -> StreamFunctionCall
fn clone(&self) -> StreamFunctionCall
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 StreamFunctionCall
impl Debug for StreamFunctionCall
Source§impl<'de> Deserialize<'de> for StreamFunctionCall
impl<'de> Deserialize<'de> for StreamFunctionCall
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
Source§impl PartialEq for StreamFunctionCall
impl PartialEq for StreamFunctionCall
Source§impl Serialize for StreamFunctionCall
impl Serialize for StreamFunctionCall
impl StructuralPartialEq for StreamFunctionCall
Auto Trait Implementations§
impl Freeze for StreamFunctionCall
impl RefUnwindSafe for StreamFunctionCall
impl Send for StreamFunctionCall
impl Sync for StreamFunctionCall
impl Unpin for StreamFunctionCall
impl UnsafeUnpin for StreamFunctionCall
impl UnwindSafe for StreamFunctionCall
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