pub struct UpdateCourseParams {
pub name: Option<String>,
pub course_code: Option<String>,
pub start_at: Option<DateTime<Utc>>,
pub end_at: Option<DateTime<Utc>>,
pub syllabus_body: Option<String>,
pub hide_final_grades: Option<bool>,
pub time_zone: Option<String>,
}Fields§
§name: Option<String>§course_code: Option<String>§start_at: Option<DateTime<Utc>>§end_at: Option<DateTime<Utc>>§syllabus_body: Option<String>§hide_final_grades: Option<bool>§time_zone: Option<String>Trait Implementations§
Source§impl Debug for UpdateCourseParams
impl Debug for UpdateCourseParams
Source§impl Default for UpdateCourseParams
impl Default for UpdateCourseParams
Source§fn default() -> UpdateCourseParams
fn default() -> UpdateCourseParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateCourseParams
impl<'de> Deserialize<'de> for UpdateCourseParams
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
Auto Trait Implementations§
impl Freeze for UpdateCourseParams
impl RefUnwindSafe for UpdateCourseParams
impl Send for UpdateCourseParams
impl Sync for UpdateCourseParams
impl Unpin for UpdateCourseParams
impl UnsafeUnpin for UpdateCourseParams
impl UnwindSafe for UpdateCourseParams
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