pub struct CompletionListParams {
pub after: Option<String>,
pub limit: Option<i64>,
pub metadata: Option<Value>,
pub model: Option<String>,
pub order: Option<CompletionListParamsOrder>,
}Fields§
§after: Option<String>Identifier for the last chat completion from the previous pagination request.
limit: Option<i64>Number of Chat Completions to retrieve.
metadata: Option<Value>A list of metadata keys to filter the Chat Completions by. Example:
model: Option<String>The model used to generate the Chat Completions.
order: Option<CompletionListParamsOrder>Sort order for Chat Completions by timestamp.
Trait Implementations§
Source§impl Clone for CompletionListParams
impl Clone for CompletionListParams
Source§fn clone(&self) -> CompletionListParams
fn clone(&self) -> CompletionListParams
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 CompletionListParams
impl Debug for CompletionListParams
Source§impl<'de> Deserialize<'de> for CompletionListParams
impl<'de> Deserialize<'de> for CompletionListParams
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 CompletionListParams
impl RefUnwindSafe for CompletionListParams
impl Send for CompletionListParams
impl Sync for CompletionListParams
impl Unpin for CompletionListParams
impl UnsafeUnpin for CompletionListParams
impl UnwindSafe for CompletionListParams
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