pub struct CourseId(pub Uuid);
Expand description
Wrapper type around [Uuid
], represents the ID of a Course.
Tuple Fields§
§0: Uuid
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CourseId
impl<'de> Deserialize<'de> for CourseId
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 PathPart for CourseId
impl PathPart for CourseId
Source§fn get_path_string(&self) -> String
fn get_path_string(&self) -> String
string value to replace placeholder with
impl Copy for CourseId
impl Eq for CourseId
impl StructuralPartialEq for CourseId
Auto Trait Implementations§
impl Freeze for CourseId
impl RefUnwindSafe for CourseId
impl Send for CourseId
impl Sync for CourseId
impl Unpin for CourseId
impl UnwindSafe for CourseId
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