pub struct PythonGrader {
pub name: String,
pub source: String,
pub type_: String,
pub image_tag: Option<String>,
}Expand description
A PythonGrader object that runs a python script on the input.
Fields§
§name: StringThe name of the grader.
source: StringThe source code of the python script.
type_: StringThe object type, which is always python.
image_tag: Option<String>The image tag to use for the python script.
Trait Implementations§
Source§impl Clone for PythonGrader
impl Clone for PythonGrader
Source§fn clone(&self) -> PythonGrader
fn clone(&self) -> PythonGrader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PythonGrader
impl Debug for PythonGrader
Source§impl<'de> Deserialize<'de> for PythonGrader
impl<'de> Deserialize<'de> for PythonGrader
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 PythonGrader
impl RefUnwindSafe for PythonGrader
impl Send for PythonGrader
impl Sync for PythonGrader
impl Unpin for PythonGrader
impl UnsafeUnpin for PythonGrader
impl UnwindSafe for PythonGrader
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