pub struct ChatCompletionFunctionCallDelta {
pub name: Option<String>,
pub arguments: Option<String>,
}Expand description
表示流式函数调用增量。
Fields§
§name: Option<String>函数名称增量。
arguments: Option<String>参数增量。
Trait Implementations§
Source§impl Clone for ChatCompletionFunctionCallDelta
impl Clone for ChatCompletionFunctionCallDelta
Source§fn clone(&self) -> ChatCompletionFunctionCallDelta
fn clone(&self) -> ChatCompletionFunctionCallDelta
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 Default for ChatCompletionFunctionCallDelta
impl Default for ChatCompletionFunctionCallDelta
Source§fn default() -> ChatCompletionFunctionCallDelta
fn default() -> ChatCompletionFunctionCallDelta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatCompletionFunctionCallDelta
impl<'de> Deserialize<'de> for ChatCompletionFunctionCallDelta
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 ChatCompletionFunctionCallDelta
impl RefUnwindSafe for ChatCompletionFunctionCallDelta
impl Send for ChatCompletionFunctionCallDelta
impl Sync for ChatCompletionFunctionCallDelta
impl Unpin for ChatCompletionFunctionCallDelta
impl UnsafeUnpin for ChatCompletionFunctionCallDelta
impl UnwindSafe for ChatCompletionFunctionCallDelta
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