pub struct EvalPythonGrader {
pub image_tag: Option<String>,
pub name: String,
pub pass_threshold: Option<f32>,
pub source: String,
pub _type: String,
}
Fields§
§image_tag: Option<String>
The image tag to use for the python script.
name: String
The name of the grader.
pass_threshold: Option<f32>
The threshold for the score.
source: String
The source code of the python script.
_type: String
The object type, which is always python
.
Trait Implementations§
Source§impl Debug for EvalPythonGrader
impl Debug for EvalPythonGrader
Source§impl<'de> Deserialize<'de> for EvalPythonGrader
impl<'de> Deserialize<'de> for EvalPythonGrader
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
Auto Trait Implementations§
impl Freeze for EvalPythonGrader
impl RefUnwindSafe for EvalPythonGrader
impl Send for EvalPythonGrader
impl Sync for EvalPythonGrader
impl Unpin for EvalPythonGrader
impl UnwindSafe for EvalPythonGrader
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