pub struct ThreadItemsListParams {
pub cursor: Option<String>,
pub limit: Option<u32>,
pub sort_direction: Option<SortDirection>,
pub thread_id: String,
pub turn_id: Option<String>,
}Expand description
ThreadItemsListParams
JSON schema
{
"title": "ThreadItemsListParams",
"type": "object",
"required": [
"threadId"
],
"properties": {
"cursor": {
"description": "Opaque cursor to pass to the next call to continue after the last item.",
"type": [
"string",
"null"
]
},
"limit": {
"description": "Optional item page size.",
"type": [
"integer",
"null"
],
"format": "uint32",
"minimum": 0.0
},
"sortDirection": {
"description": "Optional item pagination direction; defaults to ascending.",
"anyOf": [
{
"$ref": "#/definitions/SortDirection"
},
{
"type": "null"
}
]
},
"threadId": {
"type": "string"
},
"turnId": {
"description": "Optional turn id to filter by. When omitted, returns items across the thread.",
"type": [
"string",
"null"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§cursor: Option<String>Opaque cursor to pass to the next call to continue after the last item.
limit: Option<u32>Optional item page size.
sort_direction: Option<SortDirection>Optional item pagination direction; defaults to ascending.
thread_id: String§turn_id: Option<String>Optional turn id to filter by. When omitted, returns items across the thread.
Trait Implementations§
Source§impl Clone for ThreadItemsListParams
impl Clone for ThreadItemsListParams
Source§fn clone(&self) -> ThreadItemsListParams
fn clone(&self) -> ThreadItemsListParams
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 ThreadItemsListParams
impl Debug for ThreadItemsListParams
Source§impl<'de> Deserialize<'de> for ThreadItemsListParams
impl<'de> Deserialize<'de> for ThreadItemsListParams
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 ThreadItemsListParams
impl RefUnwindSafe for ThreadItemsListParams
impl Send for ThreadItemsListParams
impl Sync for ThreadItemsListParams
impl Unpin for ThreadItemsListParams
impl UnsafeUnpin for ThreadItemsListParams
impl UnwindSafe for ThreadItemsListParams
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