pub struct ListChatKitThreadsQuery {
pub limit: Option<u32>,
pub order: Option<ListChatKitThreadsOrder>,
pub after: Option<String>,
pub before: Option<String>,
pub user: Option<String>,
}Available on crate feature
chatkit-types only.Expand description
Query parameters for listing ChatKit threads.
Fields§
§limit: Option<u32>Maximum number of thread items to return. Defaults to 20.
order: Option<ListChatKitThreadsOrder>Sort order for results by creation time. Defaults to desc.
after: Option<String>List items created after this thread item ID. Defaults to null for the first page.
before: Option<String>List items created before this thread item ID. Defaults to null for the newest results.
user: Option<String>Filter threads that belong to this user identifier. Defaults to null to return all users.
Trait Implementations§
Source§impl Clone for ListChatKitThreadsQuery
impl Clone for ListChatKitThreadsQuery
Source§fn clone(&self) -> ListChatKitThreadsQuery
fn clone(&self) -> ListChatKitThreadsQuery
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 ListChatKitThreadsQuery
impl Debug for ListChatKitThreadsQuery
Source§impl Default for ListChatKitThreadsQuery
impl Default for ListChatKitThreadsQuery
Source§fn default() -> ListChatKitThreadsQuery
fn default() -> ListChatKitThreadsQuery
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListChatKitThreadsQuery
impl PartialEq for ListChatKitThreadsQuery
Source§impl Serialize for ListChatKitThreadsQuery
impl Serialize for ListChatKitThreadsQuery
impl StructuralPartialEq for ListChatKitThreadsQuery
Auto Trait Implementations§
impl Freeze for ListChatKitThreadsQuery
impl RefUnwindSafe for ListChatKitThreadsQuery
impl Send for ListChatKitThreadsQuery
impl Sync for ListChatKitThreadsQuery
impl Unpin for ListChatKitThreadsQuery
impl UnsafeUnpin for ListChatKitThreadsQuery
impl UnwindSafe for ListChatKitThreadsQuery
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