pub struct EvalStoredCompletionsSource {
pub metadata: Option<Metadata>,
pub model: Option<String>,
pub created_after: Option<i64>,
pub created_before: Option<i64>,
pub limit: Option<i32>,
}Expand description
Stored completions source.
Fields§
§metadata: Option<Metadata>Metadata filters for the stored completions.
model: Option<String>An optional model to filter by.
created_after: Option<i64>An optional Unix timestamp to filter items created after this time.
created_before: Option<i64>An optional Unix timestamp to filter items created before this time.
limit: Option<i32>An optional maximum number of items to return.
Trait Implementations§
Source§impl Clone for EvalStoredCompletionsSource
impl Clone for EvalStoredCompletionsSource
Source§fn clone(&self) -> EvalStoredCompletionsSource
fn clone(&self) -> EvalStoredCompletionsSource
Returns a duplicate of the value. Read more
1.0.0 · 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 EvalStoredCompletionsSource
impl Debug for EvalStoredCompletionsSource
Source§impl<'de> Deserialize<'de> for EvalStoredCompletionsSource
impl<'de> Deserialize<'de> for EvalStoredCompletionsSource
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
impl StructuralPartialEq for EvalStoredCompletionsSource
Auto Trait Implementations§
impl Freeze for EvalStoredCompletionsSource
impl RefUnwindSafe for EvalStoredCompletionsSource
impl Send for EvalStoredCompletionsSource
impl Sync for EvalStoredCompletionsSource
impl Unpin for EvalStoredCompletionsSource
impl UnwindSafe for EvalStoredCompletionsSource
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