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§impl Serialize for StudyRegistryGrade
impl Serialize for StudyRegistryGrade
impl StructuralPartialEq for StudyRegistryGrade
Auto Trait Implementations§
impl Freeze for StudyRegistryGrade
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more