pub struct GetEvalRunsParams {
pub eval_id: String,
pub after: Option<String>,
pub limit: Option<i64>,
pub order: Option<GetEvalRunsParamsOrder>,
pub status: Option<GetEvalRunsParamsStatus>,
}
Fields§
§eval_id: String
The ID of the evaluation to retrieve runs for.
after: Option<String>
Identifier for the last run from the previous pagination request.
limit: Option<i64>
Number of runs to retrieve.
order: Option<GetEvalRunsParamsOrder>
Sort order for runs by timestamp. Use asc
for ascending order or desc
for descending order. Defaults to asc
.
status: Option<GetEvalRunsParamsStatus>
Filter runs by status. One of queued
| in_progress
| failed
| completed
| canceled
.
Implementations§
Source§impl GetEvalRunsParams
impl GetEvalRunsParams
Sourcepub fn builder() -> GetEvalRunsParamsBuilder<((), (), (), (), ())>
pub fn builder() -> GetEvalRunsParamsBuilder<((), (), (), (), ())>
Create a builder for building GetEvalRunsParams
.
On the builder, call .eval_id(...)
, .after(...)
(optional), .limit(...)
(optional), .order(...)
(optional), .status(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of GetEvalRunsParams
.
Trait Implementations§
Source§impl Clone for GetEvalRunsParams
impl Clone for GetEvalRunsParams
Source§fn clone(&self) -> GetEvalRunsParams
fn clone(&self) -> GetEvalRunsParams
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 GetEvalRunsParams
impl Debug for GetEvalRunsParams
Source§impl<'de> Deserialize<'de> for GetEvalRunsParams
impl<'de> Deserialize<'de> for GetEvalRunsParams
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 GetEvalRunsParams
impl PartialEq for GetEvalRunsParams
Source§impl Serialize for GetEvalRunsParams
impl Serialize for GetEvalRunsParams
impl StructuralPartialEq for GetEvalRunsParams
Auto Trait Implementations§
impl Freeze for GetEvalRunsParams
impl RefUnwindSafe for GetEvalRunsParams
impl Send for GetEvalRunsParams
impl Sync for GetEvalRunsParams
impl Unpin for GetEvalRunsParams
impl UnwindSafe for GetEvalRunsParams
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