#[non_exhaustive]pub struct ListModelEvaluationsResponse {
pub model_evaluations: Vec<ModelEvaluation>,
pub next_page_token: String,
/* private fields */
}Available on crate feature
model-service only.Expand description
Response message for ModelService.ListModelEvaluations.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.model_evaluations: Vec<ModelEvaluation>List of ModelEvaluations in the requested page.
next_page_token: StringA token to retrieve next page of results. Pass to ListModelEvaluationsRequest.page_token to obtain that page.
Implementations§
Source§impl ListModelEvaluationsResponse
impl ListModelEvaluationsResponse
pub fn new() -> Self
Sourcepub fn set_model_evaluations<T, V>(self, v: T) -> Self
pub fn set_model_evaluations<T, V>(self, v: T) -> Self
Sets the value of model_evaluations.
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
Trait Implementations§
Source§impl Clone for ListModelEvaluationsResponse
impl Clone for ListModelEvaluationsResponse
Source§fn clone(&self) -> ListModelEvaluationsResponse
fn clone(&self) -> ListModelEvaluationsResponse
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 ListModelEvaluationsResponse
impl Debug for ListModelEvaluationsResponse
Source§impl Default for ListModelEvaluationsResponse
impl Default for ListModelEvaluationsResponse
Source§fn default() -> ListModelEvaluationsResponse
fn default() -> ListModelEvaluationsResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListModelEvaluationsResponse
impl PartialEq for ListModelEvaluationsResponse
Source§fn eq(&self, other: &ListModelEvaluationsResponse) -> bool
fn eq(&self, other: &ListModelEvaluationsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListModelEvaluationsResponse
Auto Trait Implementations§
impl Freeze for ListModelEvaluationsResponse
impl RefUnwindSafe for ListModelEvaluationsResponse
impl Send for ListModelEvaluationsResponse
impl Sync for ListModelEvaluationsResponse
impl Unpin for ListModelEvaluationsResponse
impl UnwindSafe for ListModelEvaluationsResponse
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