#[non_exhaustive]pub struct ModifyThreadRunRequest {
pub metadata: BTreeMap<String, String>,
}Expand description
EN: Request body for POST /v1/threads/{thread_id}/runs/{run_id}.
中文:POST /v1/threads/{thread_id}/runs/{run_id} 的请求体。
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.metadata: BTreeMap<String, String>EN: Optional metadata. 中文:可选元数据。
Implementations§
Source§impl ModifyThreadRunRequest
impl ModifyThreadRunRequest
Sourcepub fn builder() -> ModifyThreadRunRequestBuilder
pub fn builder() -> ModifyThreadRunRequestBuilder
EN: Starts building a thread-run modification request. 中文:开始构建线程 Run 修改请求。
Trait Implementations§
Source§impl Clone for ModifyThreadRunRequest
impl Clone for ModifyThreadRunRequest
Source§fn clone(&self) -> ModifyThreadRunRequest
fn clone(&self) -> ModifyThreadRunRequest
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 ModifyThreadRunRequest
impl Debug for ModifyThreadRunRequest
Source§impl Default for ModifyThreadRunRequest
impl Default for ModifyThreadRunRequest
Source§fn default() -> ModifyThreadRunRequest
fn default() -> ModifyThreadRunRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModifyThreadRunRequest
impl PartialEq for ModifyThreadRunRequest
Source§fn eq(&self, other: &ModifyThreadRunRequest) -> bool
fn eq(&self, other: &ModifyThreadRunRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModifyThreadRunRequest
impl Serialize for ModifyThreadRunRequest
impl StructuralPartialEq for ModifyThreadRunRequest
Auto Trait Implementations§
impl Freeze for ModifyThreadRunRequest
impl RefUnwindSafe for ModifyThreadRunRequest
impl Send for ModifyThreadRunRequest
impl Sync for ModifyThreadRunRequest
impl Unpin for ModifyThreadRunRequest
impl UnsafeUnpin for ModifyThreadRunRequest
impl UnwindSafe for ModifyThreadRunRequest
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