pub struct CsesConfig {
pub version: u32,
pub subjects: Vec<Subject>,
pub schedules: Vec<Schedule>,
}
Expand description
符合 cses 标准的配置文件数据格式
Fields§
§version: u32
§subjects: Vec<Subject>
§schedules: Vec<Schedule>
Trait Implementations§
Source§impl Clone for CsesConfig
impl Clone for CsesConfig
Source§fn clone(&self) -> CsesConfig
fn clone(&self) -> CsesConfig
Returns a copy 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 CsesConfig
impl Debug for CsesConfig
Source§impl<'de> Deserialize<'de> for CsesConfig
impl<'de> Deserialize<'de> for CsesConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CsesConfig
impl PartialEq for CsesConfig
Source§impl Serialize for CsesConfig
impl Serialize for CsesConfig
impl StructuralPartialEq for CsesConfig
Auto Trait Implementations§
impl Freeze for CsesConfig
impl RefUnwindSafe for CsesConfig
impl Send for CsesConfig
impl Sync for CsesConfig
impl Unpin for CsesConfig
impl UnwindSafe for CsesConfig
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