pub enum LectureCategory {
Major {
collage: String,
department: String,
major: Option<String>,
},
RequiredElective {
lecture_name: String,
},
OptionalElective {
category: String,
},
Chapel {
lecture_name: String,
},
Education,
Graduated {
collage: String,
department: String,
},
ConnectedMajor {
major: String,
},
UnitedMajor {
major: String,
},
FindByProfessor {
keyword: String,
},
FindByLecture {
keyword: String,
},
RecognizedOtherMajor {
collage: String,
department: String,
major: Option<String>,
},
Cyber,
}Expand description
강의를 찾을 때 사용하는 강의 카테고리
Variants§
Major
전공 강의
RequiredElective
교양필수
OptionalElective
교양선택
Chapel
채플
Education
교직
Graduated
대학원
ConnectedMajor
연계전공
UnitedMajor
융합전공
FindByProfessor
교수명 검색
FindByLecture
과목명 검색
RecognizedOtherMajor
타전공인정과목
Cyber
숭실사이버대
Implementations§
Source§impl LectureCategory
impl LectureCategory
Sourcepub fn major(collage: &str, department: &str, major: Option<&str>) -> Self
pub fn major(collage: &str, department: &str, major: Option<&str>) -> Self
전공과목 분류의 LectureCategory를 만듭니다.
Sourcepub fn required_elective(lecture_name: &str) -> Self
pub fn required_elective(lecture_name: &str) -> Self
교양필수 분류의 LectureCategory를 만듭니다.
Sourcepub fn optional_elective(category: &str) -> Self
pub fn optional_elective(category: &str) -> Self
교양선택 분류의 LectureCategory를 만듭니다.
Sourcepub fn chapel(lecture_name: &str) -> Self
pub fn chapel(lecture_name: &str) -> Self
채플 분류의 LectureCategory를 만듭니다.
Sourcepub fn education() -> Self
pub fn education() -> Self
교직 분류의 LectureCategory를 만듭니다.
Sourcepub fn graduated(collage: &str, department: &str) -> Self
pub fn graduated(collage: &str, department: &str) -> Self
대학원 분류의 LectureCategory를 만듭니다.
Sourcepub fn connected_major(major: &str) -> Self
pub fn connected_major(major: &str) -> Self
연계전공 분류의 LectureCategory를 만듭니다.
Sourcepub fn united_major(major: &str) -> Self
pub fn united_major(major: &str) -> Self
융합전공 분류의 LectureCategory를 만듭니다.
Sourcepub fn find_by_professor(keyword: &str) -> Self
pub fn find_by_professor(keyword: &str) -> Self
교수명으로 찾기 위한 LectureCategory를 만듭니다.
Sourcepub fn find_by_lecture(keyword: &str) -> Self
pub fn find_by_lecture(keyword: &str) -> Self
과목명으로 찾기 위한 LectureCategory를 만듭니다.
Sourcepub fn recognized_other_major(
collage: &str,
department: &str,
major: Option<&str>,
) -> Self
pub fn recognized_other_major( collage: &str, department: &str, major: Option<&str>, ) -> Self
타전공인정과목 분류의 LectureCategory를 만듭니다.
Sourcepub fn cyber() -> Self
pub fn cyber() -> Self
숭실사이버대 분류의 LectureCategory를 만듭니다.
Trait Implementations§
Source§impl Debug for LectureCategory
impl Debug for LectureCategory
Source§impl<'de> Deserialize<'de> for LectureCategory
impl<'de> Deserialize<'de> for LectureCategory
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 LectureCategory
impl RefUnwindSafe for LectureCategory
impl Send for LectureCategory
impl Sync for LectureCategory
impl Unpin for LectureCategory
impl UnsafeUnpin for LectureCategory
impl UnwindSafe for LectureCategory
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