pub struct GetEvalRunsQueryArgs { /* private fields */ }Available on crate feature
eval-types only.Expand description
Builder for GetEvalRunsQuery.
Implementations§
Source§impl GetEvalRunsQueryArgs
impl GetEvalRunsQueryArgs
Sourcepub fn after<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn after<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Identifier for the last run from the previous pagination request.
Sourcepub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
Number of runs to retrieve.
Sourcepub fn order<VALUE: Into<GetEvalRunsOrder>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn order<VALUE: Into<GetEvalRunsOrder>>( &mut self, value: VALUE, ) -> &mut Self
Sort order for runs by timestamp. Use asc for ascending order or desc for descending order. Defaults to asc.
Sourcepub fn status<VALUE: Into<GetEvalRunsStatus>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn status<VALUE: Into<GetEvalRunsStatus>>( &mut self, value: VALUE, ) -> &mut Self
Filter runs by status. One of queued | in_progress | failed | completed | canceled.
Sourcepub fn build(&self) -> Result<GetEvalRunsQuery, OpenAIError>
pub fn build(&self) -> Result<GetEvalRunsQuery, OpenAIError>
Trait Implementations§
Source§impl Clone for GetEvalRunsQueryArgs
impl Clone for GetEvalRunsQueryArgs
Source§fn clone(&self) -> GetEvalRunsQueryArgs
fn clone(&self) -> GetEvalRunsQueryArgs
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 GetEvalRunsQueryArgs
impl Debug for GetEvalRunsQueryArgs
Auto Trait Implementations§
impl Freeze for GetEvalRunsQueryArgs
impl RefUnwindSafe for GetEvalRunsQueryArgs
impl Send for GetEvalRunsQueryArgs
impl Sync for GetEvalRunsQueryArgs
impl Unpin for GetEvalRunsQueryArgs
impl UnwindSafe for GetEvalRunsQueryArgs
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