pub struct GetChatCompletionMessagesQuery {
pub after: Option<String>,
pub limit: Option<u32>,
pub order: Option<GetChatCompletionMessagesOrder>,
}Available on crate feature
chat-completion-types only.Expand description
Query parameters for getting chat completion messages.
Fields§
§after: Option<String>Identifier for the last message from the previous pagination request.
limit: Option<u32>Number of messages to retrieve.
order: Option<GetChatCompletionMessagesOrder>Sort order for messages by timestamp. Use asc for ascending order or desc for descending order. Defaults to asc.
Trait Implementations§
Source§impl Clone for GetChatCompletionMessagesQuery
impl Clone for GetChatCompletionMessagesQuery
Source§fn clone(&self) -> GetChatCompletionMessagesQuery
fn clone(&self) -> GetChatCompletionMessagesQuery
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GetChatCompletionMessagesQuery
impl Default for GetChatCompletionMessagesQuery
Source§fn default() -> GetChatCompletionMessagesQuery
fn default() -> GetChatCompletionMessagesQuery
Returns the “default value” for a type. Read more
impl StructuralPartialEq for GetChatCompletionMessagesQuery
Auto Trait Implementations§
impl Freeze for GetChatCompletionMessagesQuery
impl RefUnwindSafe for GetChatCompletionMessagesQuery
impl Send for GetChatCompletionMessagesQuery
impl Sync for GetChatCompletionMessagesQuery
impl Unpin for GetChatCompletionMessagesQuery
impl UnwindSafe for GetChatCompletionMessagesQuery
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)