[][src]Struct zju_jw_parser::ExamTime

pub struct ExamTime {
    pub year: i32,
    pub month: u32,
    pub day: u32,
    pub start_hour: u32,
    pub start_min: u32,
    pub end_hour: u32,
    pub end_min: u32,
}

match string like: 2019年01月13日(08:00-10:00)

Fields

year: i32month: u32day: u32start_hour: u32start_min: u32end_hour: u32end_min: u32

Trait Implementations

impl FromStr for ExamTime[src]

type Err = DeserializeError

The associated error which can be returned from parsing.

Auto Trait Implementations

impl Send for ExamTime

impl Sync for ExamTime

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<E, T> FromHtml for T where
    E: Fail,
    T: FromStr<Err = E>, 
[src]

fn from_selector_and_attr(
    selector_str: &str,
    attr: &str,
    elem_ref: ElementRef
) -> Result<Self, Error>
[src]

Examples Read more

fn from_selector_and_inner_text(
    selector_str: &str,
    elem_ref: ElementRef
) -> Result<Self, Error>
[src]

Examples Read more

fn from_selector_and_html(
    selector_str: &str,
    elem_ref: ElementRef
) -> Result<Self, Error>
[src]

Examples Read more

fn from_attr(attr: &str, elem_ref: ElementRef) -> Result<Self, Error>[src]

Examples Read more

fn from_inner_text(elem_ref: ElementRef) -> Result<Self, Error>[src]

Examples Read more