pub struct NewCourseInstance<'a> {
pub course_id: Uuid,
pub name: Option<&'a str>,
pub description: Option<&'a str>,
pub teacher_in_charge_name: &'a str,
pub teacher_in_charge_email: &'a str,
pub support_email: Option<&'a str>,
pub opening_time: Option<DateTime<Utc>>,
pub closing_time: Option<DateTime<Utc>>,
}
Fields§
§course_id: Uuid
§name: Option<&'a str>
§description: Option<&'a str>
§teacher_in_charge_name: &'a str
§teacher_in_charge_email: &'a str
§support_email: Option<&'a str>
§opening_time: Option<DateTime<Utc>>
§closing_time: Option<DateTime<Utc>>
Trait Implementations§
source§impl<'a> Clone for NewCourseInstance<'a>
impl<'a> Clone for NewCourseInstance<'a>
source§fn clone(&self) -> NewCourseInstance<'a>
fn clone(&self) -> NewCourseInstance<'a>
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<'a> Debug for NewCourseInstance<'a>
impl<'a> Debug for NewCourseInstance<'a>
impl<'a> Copy for NewCourseInstance<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for NewCourseInstance<'a>
impl<'a> Send for NewCourseInstance<'a>
impl<'a> Sync for NewCourseInstance<'a>
impl<'a> Unpin for NewCourseInstance<'a>
impl<'a> UnwindSafe for NewCourseInstance<'a>
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