pub struct GraderModel {
pub id: Option<String>,
pub name: Option<String>,
pub grader_type: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
表示单个 grader model。
Fields§
§id: Option<String>grader model ID。
name: Option<String>grader 名称。
grader_type: Option<String>grader 类型。
extra: BTreeMap<String, Value>额外字段。
Trait Implementations§
Source§impl Clone for GraderModel
impl Clone for GraderModel
Source§fn clone(&self) -> GraderModel
fn clone(&self) -> GraderModel
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 GraderModel
impl Debug for GraderModel
Source§impl Default for GraderModel
impl Default for GraderModel
Source§fn default() -> GraderModel
fn default() -> GraderModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraderModel
impl<'de> Deserialize<'de> for GraderModel
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 GraderModel
impl RefUnwindSafe for GraderModel
impl Send for GraderModel
impl Sync for GraderModel
impl Unpin for GraderModel
impl UnsafeUnpin for GraderModel
impl UnwindSafe for GraderModel
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