[][src]Struct zju_jw_parser::Exam

pub struct Exam {
    pub identifier: String,
    pub name: String,
    pub credit: f32,
    pub relearning: String,
    pub semester: String,
    pub final_exam_time: OptionalExamTime,
    pub final_exam_place: String,
    pub final_exam_seat: String,
    pub mid_exam_time: OptionalExamTime,
    pub mid_exam_place: String,
    pub mid_exam_seat: String,
}

Fields

identifier: Stringname: Stringcredit: f32relearning: Stringsemester: Stringfinal_exam_time: OptionalExamTimefinal_exam_place: Stringfinal_exam_seat: Stringmid_exam_time: OptionalExamTimemid_exam_place: Stringmid_exam_seat: String

Trait Implementations

impl FromHtml for Exam[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

fn from_html(html: &str) -> Result<Self, Error>[src]

implemented by default for all types that implemented FromStr<Err=E> where E: std::error::Error # Examples use unhtml::FromHtml; let result = u8::from_html("1").unwrap(); assert_eq!(1u8, result); Read more

Auto Trait Implementations

impl Send for Exam

impl Sync for Exam

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?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