pub struct ResponseFunctionCallArgumentsEvent {
pub output_index: usize,
pub item_id: Option<String>,
pub delta: String,
pub snapshot: String,
pub parsed_arguments: Option<JsonPayload>,
}Expand description
表示函数调用参数增量事件。
Fields§
§output_index: usize输出项索引。
item_id: Option<String>关联的 item ID。
delta: String参数增量。
snapshot: String当前累计参数字符串。
parsed_arguments: Option<JsonPayload>如果当前参数是合法 JSON,则提供解析结果。
Trait Implementations§
Source§impl Clone for ResponseFunctionCallArgumentsEvent
impl Clone for ResponseFunctionCallArgumentsEvent
Source§fn clone(&self) -> ResponseFunctionCallArgumentsEvent
fn clone(&self) -> ResponseFunctionCallArgumentsEvent
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<'de> Deserialize<'de> for ResponseFunctionCallArgumentsEvent
impl<'de> Deserialize<'de> for ResponseFunctionCallArgumentsEvent
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 ResponseFunctionCallArgumentsEvent
impl PartialEq for ResponseFunctionCallArgumentsEvent
Source§fn eq(&self, other: &ResponseFunctionCallArgumentsEvent) -> bool
fn eq(&self, other: &ResponseFunctionCallArgumentsEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResponseFunctionCallArgumentsEvent
Auto Trait Implementations§
impl Freeze for ResponseFunctionCallArgumentsEvent
impl RefUnwindSafe for ResponseFunctionCallArgumentsEvent
impl Send for ResponseFunctionCallArgumentsEvent
impl Sync for ResponseFunctionCallArgumentsEvent
impl Unpin for ResponseFunctionCallArgumentsEvent
impl UnsafeUnpin for ResponseFunctionCallArgumentsEvent
impl UnwindSafe for ResponseFunctionCallArgumentsEvent
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