pub struct StudyRegistryGrade {
pub scale: String,
pub grade: String,
}
Expand description
Grading object that maps the system grading information to Sisu’s grading scales.
Currently only sis-0-5
and sis-hyv-hyl
scales are supported in the system.
All grading scales can be found from https://sis-helsinki-test.funidata.fi/api/graphql using the following query:
query {
grade_scales {
id
name {
fi
en
sv
}
grades {
name {
fi
en
sv
}
passed
localId
abbreviation {
fi
en
sv
}
}
abbreviation {
fi
en
sv
}
}
}
Fields§
§scale: String
§grade: String
Implementations§
Trait Implementations§
source§impl Clone for StudyRegistryGrade
impl Clone for StudyRegistryGrade
source§fn clone(&self) -> StudyRegistryGrade
fn clone(&self) -> StudyRegistryGrade
Returns a copy 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<'de> Deserialize<'de> for StudyRegistryGrade
impl<'de> Deserialize<'de> for StudyRegistryGrade
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 StudyRegistryGrade
impl PartialEq for StudyRegistryGrade
source§fn eq(&self, other: &StudyRegistryGrade) -> bool
fn eq(&self, other: &StudyRegistryGrade) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StudyRegistryGrade
impl Serialize for StudyRegistryGrade
impl StructuralPartialEq for StudyRegistryGrade
Auto Trait Implementations§
impl RefUnwindSafe for StudyRegistryGrade
impl Send for StudyRegistryGrade
impl Sync for StudyRegistryGrade
impl Unpin for StudyRegistryGrade
impl UnwindSafe for StudyRegistryGrade
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