pub struct GetEvalRunOutputItemsParams {
pub eval_id: String,
pub run_id: String,
pub after: Option<String>,
pub limit: Option<i64>,
pub status: Option<GetEvalRunOutputItemsParamsStatus>,
pub order: Option<GetEvalRunOutputItemsParamsOrder>,
}
Fields§
§eval_id: String
The ID of the evaluation to retrieve runs for.
run_id: String
The ID of the run to retrieve output items for.
after: Option<String>
Identifier for the last output item from the previous pagination request.
limit: Option<i64>
Number of output items to retrieve.
status: Option<GetEvalRunOutputItemsParamsStatus>
Filter output items by status. Use failed
to filter by failed output
items or pass
to filter by passed output items.
order: Option<GetEvalRunOutputItemsParamsOrder>
Sort order for output items by timestamp. Use asc
for ascending order or desc
for descending order. Defaults to asc
.
Implementations§
Source§impl GetEvalRunOutputItemsParams
impl GetEvalRunOutputItemsParams
Sourcepub fn builder() -> GetEvalRunOutputItemsParamsBuilder<((), (), (), (), (), ())>
pub fn builder() -> GetEvalRunOutputItemsParamsBuilder<((), (), (), (), (), ())>
Create a builder for building GetEvalRunOutputItemsParams
.
On the builder, call .eval_id(...)
, .run_id(...)
, .after(...)
(optional), .limit(...)
(optional), .status(...)
(optional), .order(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of GetEvalRunOutputItemsParams
.
Trait Implementations§
Source§impl Clone for GetEvalRunOutputItemsParams
impl Clone for GetEvalRunOutputItemsParams
Source§fn clone(&self) -> GetEvalRunOutputItemsParams
fn clone(&self) -> GetEvalRunOutputItemsParams
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetEvalRunOutputItemsParams
impl Debug for GetEvalRunOutputItemsParams
Source§impl<'de> Deserialize<'de> for GetEvalRunOutputItemsParams
impl<'de> Deserialize<'de> for GetEvalRunOutputItemsParams
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
Source§impl PartialEq for GetEvalRunOutputItemsParams
impl PartialEq for GetEvalRunOutputItemsParams
Source§fn eq(&self, other: &GetEvalRunOutputItemsParams) -> bool
fn eq(&self, other: &GetEvalRunOutputItemsParams) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetEvalRunOutputItemsParams
Auto Trait Implementations§
impl Freeze for GetEvalRunOutputItemsParams
impl RefUnwindSafe for GetEvalRunOutputItemsParams
impl Send for GetEvalRunOutputItemsParams
impl Sync for GetEvalRunOutputItemsParams
impl Unpin for GetEvalRunOutputItemsParams
impl UnwindSafe for GetEvalRunOutputItemsParams
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