pub struct RunGraderResponseMetadataErrors {Show 14 fields
pub formula_parse_error: bool,
pub sample_parse_error: bool,
pub truncated_observation_error: bool,
pub unresponsive_reward_error: bool,
pub invalid_variable_error: bool,
pub other_error: bool,
pub python_grader_server_error: bool,
pub python_grader_server_error_type: Option<String>,
pub python_grader_runtime_error: bool,
pub python_grader_runtime_error_details: Option<String>,
pub model_grader_server_error: bool,
pub model_grader_refusal_error: bool,
pub model_grader_parse_error: bool,
pub model_grader_server_error_details: Option<String>,
}
Fields§
§formula_parse_error: bool
§sample_parse_error: bool
§truncated_observation_error: bool
§unresponsive_reward_error: bool
§invalid_variable_error: bool
§other_error: bool
§python_grader_server_error: bool
§python_grader_server_error_type: Option<String>
§python_grader_runtime_error: bool
§python_grader_runtime_error_details: Option<String>
§model_grader_server_error: bool
§model_grader_refusal_error: bool
§model_grader_parse_error: bool
§model_grader_server_error_details: Option<String>
Implementations§
Source§impl RunGraderResponseMetadataErrors
impl RunGraderResponseMetadataErrors
Sourcepub fn builder() -> RunGraderResponseMetadataErrorsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> RunGraderResponseMetadataErrorsBuilder<((), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building RunGraderResponseMetadataErrors
.
On the builder, call .formula_parse_error(...)
, .sample_parse_error(...)
, .truncated_observation_error(...)
, .unresponsive_reward_error(...)
, .invalid_variable_error(...)
, .other_error(...)
, .python_grader_server_error(...)
, .python_grader_server_error_type(...)
(optional), .python_grader_runtime_error(...)
, .python_grader_runtime_error_details(...)
(optional), .model_grader_server_error(...)
, .model_grader_refusal_error(...)
, .model_grader_parse_error(...)
, .model_grader_server_error_details(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of RunGraderResponseMetadataErrors
.
Trait Implementations§
Source§impl Clone for RunGraderResponseMetadataErrors
impl Clone for RunGraderResponseMetadataErrors
Source§fn clone(&self) -> RunGraderResponseMetadataErrors
fn clone(&self) -> RunGraderResponseMetadataErrors
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<'de> Deserialize<'de> for RunGraderResponseMetadataErrors
impl<'de> Deserialize<'de> for RunGraderResponseMetadataErrors
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 RunGraderResponseMetadataErrors
impl PartialEq for RunGraderResponseMetadataErrors
Source§fn eq(&self, other: &RunGraderResponseMetadataErrors) -> bool
fn eq(&self, other: &RunGraderResponseMetadataErrors) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RunGraderResponseMetadataErrors
Auto Trait Implementations§
impl Freeze for RunGraderResponseMetadataErrors
impl RefUnwindSafe for RunGraderResponseMetadataErrors
impl Send for RunGraderResponseMetadataErrors
impl Sync for RunGraderResponseMetadataErrors
impl Unpin for RunGraderResponseMetadataErrors
impl UnwindSafe for RunGraderResponseMetadataErrors
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