#[non_exhaustive]pub struct RunStepListRequest {
pub limit: Option<u8>,
pub order: Option<RunStepListOrder>,
pub after: Option<String>,
pub before: Option<String>,
/* private fields */
}Expand description
EN: Query parameters for GET /v1/threads/{thread_id}/runs/{run_id}/steps.
中文:GET /v1/threads/{thread_id}/runs/{run_id}/steps 的查询参数。
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.limit: Option<u8>EN: Maximum number of run steps to retrieve. 中文:要获取的最大 run step 数量。
order: Option<RunStepListOrder>EN: Sort order by creation timestamp. 中文:按创建时间戳排序的方向。
after: Option<String>EN: Cursor after which the next page starts. 中文:下一页开始位置之前的游标。
before: Option<String>EN: Cursor before which the previous page starts. 中文:上一页开始位置之后的游标。
Implementations§
Source§impl RunStepListRequest
impl RunStepListRequest
Sourcepub fn builder() -> RunStepListRequestBuilder
pub fn builder() -> RunStepListRequestBuilder
EN: Starts building run step list query parameters. 中文:开始构建 run step 列表查询参数。
Trait Implementations§
Source§impl Clone for RunStepListRequest
impl Clone for RunStepListRequest
Source§fn clone(&self) -> RunStepListRequest
fn clone(&self) -> RunStepListRequest
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 RunStepListRequest
impl Debug for RunStepListRequest
Source§impl Default for RunStepListRequest
impl Default for RunStepListRequest
Source§fn default() -> RunStepListRequest
fn default() -> RunStepListRequest
Returns the “default value” for a type. Read more
impl Eq for RunStepListRequest
Source§impl PartialEq for RunStepListRequest
impl PartialEq for RunStepListRequest
Source§fn eq(&self, other: &RunStepListRequest) -> bool
fn eq(&self, other: &RunStepListRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RunStepListRequest
Auto Trait Implementations§
impl Freeze for RunStepListRequest
impl RefUnwindSafe for RunStepListRequest
impl Send for RunStepListRequest
impl Sync for RunStepListRequest
impl Unpin for RunStepListRequest
impl UnsafeUnpin for RunStepListRequest
impl UnwindSafe for RunStepListRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.