pub struct MisTimetableParams {
pub ATPT_OFCDC_SC_CODE: String,
pub SD_SCHUL_CODE: String,
pub AY: Option<String>,
pub SEM: Option<String>,
pub ALL_TI_YMD: Option<String>,
pub DGHT_CRSE_SC_NM: Option<String>,
pub GRADE: Option<String>,
pub CLASS_NM: Option<String>,
pub PERIO: Option<String>,
pub TI_FROM_YMD: Option<String>,
pub TI_TO_YMD: Option<String>,
}Fields§
§ATPT_OFCDC_SC_CODE: String시도교육청코드
SD_SCHUL_CODE: String행정표준코드
AY: Option<String>학년도
SEM: Option<String>학기
ALL_TI_YMD: Option<String>시간표일자
DGHT_CRSE_SC_NM: Option<String>주야과정명
GRADE: Option<String>학년
CLASS_NM: Option<String>학급명
PERIO: Option<String>교시
TI_FROM_YMD: Option<String>시간표시작일자
TI_TO_YMD: Option<String>시간표종료일자
Implementations§
Source§impl MisTimetableParams
impl MisTimetableParams
pub fn new(atpt_ofcdc_sc_code: &str, sd_schul_code: &str) -> Self
pub fn ay(self, year: i32) -> Self
pub fn sem(self, sem: u8) -> Self
pub fn ymd(self, year: i32, month: u8, day: u8) -> Self
pub fn grade(self, grade: u8) -> Self
pub fn perio(self, perio: u8) -> Self
pub fn from_ymd(self, year: i32, month: u8, day: u8) -> Self
pub fn to_ymd(self, year: i32, month: u8, day: u8) -> Self
Trait Implementations§
Source§impl Clone for MisTimetableParams
impl Clone for MisTimetableParams
Source§fn clone(&self) -> MisTimetableParams
fn clone(&self) -> MisTimetableParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MisTimetableParams
impl Debug for MisTimetableParams
Source§impl Serialize for MisTimetableParams
impl Serialize for MisTimetableParams
Source§impl ToQueryString for MisTimetableParams
impl ToQueryString for MisTimetableParams
fn to_query_string(&self) -> String
Auto Trait Implementations§
impl Freeze for MisTimetableParams
impl RefUnwindSafe for MisTimetableParams
impl Send for MisTimetableParams
impl Sync for MisTimetableParams
impl Unpin for MisTimetableParams
impl UnwindSafe for MisTimetableParams
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