pub struct GetEvalRunOutputItemsQueryArgs { /* private fields */ }Available on crate feature
eval-types only.Expand description
Builder for GetEvalRunOutputItemsQuery.
Implementations§
Source§impl GetEvalRunOutputItemsQueryArgs
impl GetEvalRunOutputItemsQueryArgs
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 output item 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 output items to retrieve.
Sourcepub fn status<VALUE: Into<GetEvalRunOutputItemsStatus>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn status<VALUE: Into<GetEvalRunOutputItemsStatus>>( &mut self, value: VALUE, ) -> &mut Self
Filter output items by status. Use failed to filter by failed output items or pass to filter by passed output items.
Sourcepub fn order<VALUE: Into<GetEvalRunOutputItemsOrder>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn order<VALUE: Into<GetEvalRunOutputItemsOrder>>( &mut self, value: VALUE, ) -> &mut Self
Sort order for output items by timestamp. Use asc for ascending order or desc for descending order. Defaults to asc.
Sourcepub fn build(&self) -> Result<GetEvalRunOutputItemsQuery, OpenAIError>
pub fn build(&self) -> Result<GetEvalRunOutputItemsQuery, OpenAIError>
Trait Implementations§
Source§impl Clone for GetEvalRunOutputItemsQueryArgs
impl Clone for GetEvalRunOutputItemsQueryArgs
Source§fn clone(&self) -> GetEvalRunOutputItemsQueryArgs
fn clone(&self) -> GetEvalRunOutputItemsQueryArgs
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 moreAuto Trait Implementations§
impl Freeze for GetEvalRunOutputItemsQueryArgs
impl RefUnwindSafe for GetEvalRunOutputItemsQueryArgs
impl Send for GetEvalRunOutputItemsQueryArgs
impl Sync for GetEvalRunOutputItemsQueryArgs
impl Unpin for GetEvalRunOutputItemsQueryArgs
impl UnwindSafe for GetEvalRunOutputItemsQueryArgs
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