Skip to main content

LectureCategory

Enum LectureCategory 

Source
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

전공 강의

Fields

§collage: String

단과대명

§department: String

학부명

§major: Option<String>

전공명

§

RequiredElective

교양필수

Fields

§lecture_name: String

과목명

§

OptionalElective

교양선택

Fields

§category: String

교양 분류

§

Chapel

채플

Fields

§lecture_name: String

과목명

§

Education

교직

§

Graduated

대학원

Fields

§collage: String

단과대명

§department: String

학부명

§

ConnectedMajor

연계전공

Fields

§major: String

전공명

§

UnitedMajor

융합전공

Fields

§major: String

전공명

§

FindByProfessor

교수명 검색

Fields

§keyword: String

교수명

§

FindByLecture

과목명 검색

Fields

§keyword: String

과목명

§

RecognizedOtherMajor

타전공인정과목

Fields

§collage: String

단과대명

§department: String

학부명

§major: Option<String>

전공명

§

Cyber

숭실사이버대

Implementations§

Source§

impl LectureCategory

Source

pub fn major(collage: &str, department: &str, major: Option<&str>) -> Self

전공과목 분류의 LectureCategory를 만듭니다.

Source

pub fn required_elective(lecture_name: &str) -> Self

교양필수 분류의 LectureCategory를 만듭니다.

Source

pub fn optional_elective(category: &str) -> Self

교양선택 분류의 LectureCategory를 만듭니다.

Source

pub fn chapel(lecture_name: &str) -> Self

채플 분류의 LectureCategory를 만듭니다.

Source

pub fn education() -> Self

교직 분류의 LectureCategory를 만듭니다.

Source

pub fn graduated(collage: &str, department: &str) -> Self

대학원 분류의 LectureCategory를 만듭니다.

Source

pub fn connected_major(major: &str) -> Self

연계전공 분류의 LectureCategory를 만듭니다.

Source

pub fn united_major(major: &str) -> Self

융합전공 분류의 LectureCategory를 만듭니다.

Source

pub fn find_by_professor(keyword: &str) -> Self

교수명으로 찾기 위한 LectureCategory를 만듭니다.

Source

pub fn find_by_lecture(keyword: &str) -> Self

과목명으로 찾기 위한 LectureCategory를 만듭니다.

Source

pub fn recognized_other_major( collage: &str, department: &str, major: Option<&str>, ) -> Self

타전공인정과목 분류의 LectureCategory를 만듭니다.

Source

pub fn cyber() -> Self

숭실사이버대 분류의 LectureCategory를 만듭니다.

Trait Implementations§

Source§

impl Debug for LectureCategory

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for LectureCategory

Source§

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 Serialize for LectureCategory

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,