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