pub struct ChunkFunctionCall {
pub name: Option<String>,
pub arguments: Option<String>,
}Expand description
Function call fragments in streaming chunks.
Fields§
§name: Option<String>Name fragment, if emitted.
arguments: Option<String>Arguments JSON fragment.
Trait Implementations§
Source§impl Clone for ChunkFunctionCall
impl Clone for ChunkFunctionCall
Source§fn clone(&self) -> ChunkFunctionCall
fn clone(&self) -> ChunkFunctionCall
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 moreSource§impl Debug for ChunkFunctionCall
impl Debug for ChunkFunctionCall
Source§impl Default for ChunkFunctionCall
impl Default for ChunkFunctionCall
Source§fn default() -> ChunkFunctionCall
fn default() -> ChunkFunctionCall
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChunkFunctionCall
impl<'de> Deserialize<'de> for ChunkFunctionCall
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
impl Eq for ChunkFunctionCall
Source§impl PartialEq for ChunkFunctionCall
impl PartialEq for ChunkFunctionCall
Source§impl Serialize for ChunkFunctionCall
impl Serialize for ChunkFunctionCall
impl StructuralPartialEq for ChunkFunctionCall
Auto Trait Implementations§
impl Freeze for ChunkFunctionCall
impl RefUnwindSafe for ChunkFunctionCall
impl Send for ChunkFunctionCall
impl Sync for ChunkFunctionCall
impl Unpin for ChunkFunctionCall
impl UnsafeUnpin for ChunkFunctionCall
impl UnwindSafe for ChunkFunctionCall
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