pub struct Eval { /* private fields */ }
Expand description
evaluation/grade
Implementations§
source§impl Eval
impl Eval
sourcepub fn subject_id(&self) -> Option<String>
pub fn subject_id(&self) -> Option<String>
Returns the subject of this Eval
.
Eg. “magyar_nyelv_es_irodalom”
sourcepub fn subject_name(&self) -> Option<String>
pub fn subject_name(&self) -> Option<String>
Returns the subject’s name of this Eval
.
Eg. “Magyar nyelv és irodalom”
sourcepub fn filter_by_kind(evals: &mut Vec<Eval>, kind: &str)
pub fn filter_by_kind(evals: &mut Vec<Eval>, kind: &str)
Filter evals
by kind
sourcepub fn filter_by_subject(evals: &mut Vec<Eval>, subj: &str)
pub fn filter_by_subject(evals: &mut Vec<Eval>, subj: &str)
Filter evals
by subject
Trait Implementations§
source§impl<'de> Deserialize<'de> for Eval
impl<'de> Deserialize<'de> for Eval
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 Eval
impl RefUnwindSafe for Eval
impl Send for Eval
impl Sync for Eval
impl Unpin for Eval
impl UnwindSafe for Eval
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