Enum zermelo::AppointmentType
[−]
[src]
pub enum AppointmentType { Unknown, Lesson, Exam, Activity, Choice, Talk, Other, }
You can use this enum to parse Appointment.appointment_type
.
This is done to make matching easier.
let t = AppointmentType::from_str("exam"); // => Some(AppointmentType::Exam) let n = AppointmentType::from_str("abc"); // => None
Variants
Unknown
unknown
in Zermelo's API.
Lesson
lesson
in Zermelo's API.
Exam
exam
in Zermelo's API.
Activity
activity
in Zermelo's API.
Choice
choice
in Zermelo's API.
Talk
talk
in Zermelo's API.
Other
other
in Zermelo's API.