Struct celcat::fetchable::calendar::Course [−][src]
pub struct Course {Show 14 fields
pub id: CourseId,
pub start: NaiveDateTime,
pub end: Option<NaiveDateTime>,
pub all_day: bool,
pub description: String,
pub background_color: String,
pub text_color: String,
pub department: Option<String>,
pub faculty: Option<String>,
pub event_category: Option<String>,
pub sites: Option<Vec<String>>,
pub modules: Option<Vec<ModuleId>>,
pub register_status: i64,
pub student_mark: f64,
}Fields
id: CourseIdstart: NaiveDateTimeend: Option<NaiveDateTime>all_day: booldescription: Stringbackground_color: Stringtext_color: Stringdepartment: Option<String>faculty: Option<String>event_category: Option<String>sites: Option<Vec<String>>modules: Option<Vec<ModuleId>>register_status: i64student_mark: f64Trait Implementations
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 RefUnwindSafe for Course
impl UnwindSafe for Course
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more