pub struct FunctionCallStream {
pub name: Option<String>,
pub arguments: Option<String>,
}Expand description
Streaming variant of FunctionCall where both fields are optional.
Continuation chunks carry only arguments; name is omitted rather
than serialized as null, matching OpenAI output.
Fields§
§name: Option<String>§arguments: Option<String>Trait Implementations§
Source§impl Clone for FunctionCallStream
impl Clone for FunctionCallStream
Source§impl ComposeSchema for FunctionCallStream
Available on crate feature protocol-schema only.
impl ComposeSchema for FunctionCallStream
Available on crate feature
protocol-schema only.Source§impl Debug for FunctionCallStream
impl Debug for FunctionCallStream
Source§impl Default for FunctionCallStream
impl Default for FunctionCallStream
Source§impl<'de> Deserialize<'de> for FunctionCallStream
impl<'de> Deserialize<'de> for FunctionCallStream
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 FunctionCallStream
impl PartialEq for FunctionCallStream
Source§impl Serialize for FunctionCallStream
impl Serialize for FunctionCallStream
impl StructuralPartialEq for FunctionCallStream
Source§impl ToSchema for FunctionCallStream
Available on crate feature protocol-schema only.
impl ToSchema for FunctionCallStream
Available on crate feature
protocol-schema only.Auto Trait Implementations§
impl Freeze for FunctionCallStream
impl RefUnwindSafe for FunctionCallStream
impl Send for FunctionCallStream
impl Sync for FunctionCallStream
impl Unpin for FunctionCallStream
impl UnsafeUnpin for FunctionCallStream
impl UnwindSafe for FunctionCallStream
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