pub struct ElsTimetableParams {
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 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>시간표일자
GRADE: Option<String>학년
CLASS_NM: Option<String>학급명
PERIO: Option<String>교시
TI_FROM_YMD: Option<String>시간표시작일자
TI_TO_YMD: Option<String>시간표종료일자
Implementations§
Source§impl ElsTimetableParams
impl ElsTimetableParams
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 ElsTimetableParams
impl Clone for ElsTimetableParams
Source§fn clone(&self) -> ElsTimetableParams
fn clone(&self) -> ElsTimetableParams
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 ElsTimetableParams
impl Debug for ElsTimetableParams
Source§impl Serialize for ElsTimetableParams
impl Serialize for ElsTimetableParams
Source§impl ToQueryString for ElsTimetableParams
impl ToQueryString for ElsTimetableParams
fn to_query_string(&self) -> String
Auto Trait Implementations§
impl Freeze for ElsTimetableParams
impl RefUnwindSafe for ElsTimetableParams
impl Send for ElsTimetableParams
impl Sync for ElsTimetableParams
impl Unpin for ElsTimetableParams
impl UnwindSafe for ElsTimetableParams
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