pub struct NewCourseInstanceEnrollment {
pub user_id: Uuid,
pub course_id: Uuid,
pub course_instance_id: Uuid,
}
Fields§
§user_id: Uuid
§course_id: Uuid
§course_instance_id: Uuid
Trait Implementations§
source§impl Clone for NewCourseInstanceEnrollment
impl Clone for NewCourseInstanceEnrollment
source§fn clone(&self) -> NewCourseInstanceEnrollment
fn clone(&self) -> NewCourseInstanceEnrollment
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 NewCourseInstanceEnrollment
impl Debug for NewCourseInstanceEnrollment
source§impl<'de> Deserialize<'de> for NewCourseInstanceEnrollment
impl<'de> Deserialize<'de> for NewCourseInstanceEnrollment
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 NewCourseInstanceEnrollment
impl PartialEq for NewCourseInstanceEnrollment
source§fn eq(&self, other: &NewCourseInstanceEnrollment) -> bool
fn eq(&self, other: &NewCourseInstanceEnrollment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NewCourseInstanceEnrollment
Auto Trait Implementations§
impl RefUnwindSafe for NewCourseInstanceEnrollment
impl Send for NewCourseInstanceEnrollment
impl Sync for NewCourseInstanceEnrollment
impl Unpin for NewCourseInstanceEnrollment
impl UnwindSafe for NewCourseInstanceEnrollment
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