pub struct GraderPython {
pub name: String,
pub source: String,
pub image_tag: Option<String>,
}
Expand description
A PythonGrader object that runs a python script on the input.
Fields§
§name: String
The name of the grader.
source: String
The source code of the python script.
image_tag: Option<String>
The image tag to use for the python script.
Implementations§
Trait Implementations§
Source§impl Clone for GraderPython
impl Clone for GraderPython
Source§fn clone(&self) -> GraderPython
fn clone(&self) -> GraderPython
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 GraderPython
impl Debug for GraderPython
Source§impl<'de> Deserialize<'de> for GraderPython
impl<'de> Deserialize<'de> for GraderPython
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 GraderPython
impl PartialEq for GraderPython
Source§impl Serialize for GraderPython
impl Serialize for GraderPython
impl StructuralPartialEq for GraderPython
Auto Trait Implementations§
impl Freeze for GraderPython
impl RefUnwindSafe for GraderPython
impl Send for GraderPython
impl Sync for GraderPython
impl Unpin for GraderPython
impl UnwindSafe for GraderPython
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