[][src]Struct zju_jw_scraper::CourseIdentifier

pub struct CourseIdentifier {
    pub school_year: String,
    pub semester: u8,
    pub code: String,
}

match string like: (2017-2018-1)-74188010-0089096-1

Fields

school_year: Stringsemester: u8code: String

Trait Implementations

impl Eq for CourseIdentifier[src]

impl PartialEq<CourseIdentifier> for CourseIdentifier[src]

impl Debug for CourseIdentifier[src]

impl FromStr for CourseIdentifier[src]

type Err = Error

The associated error which can be returned from parsing.

impl FromText for CourseIdentifier[src]

impl<'input> Reformation<'input> for CourseIdentifier[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]