pub struct SchoolNameId(pub Uuid);
Expand description
Wrapper type around [Uuid
], represents the ID of a School Name.
Tuple Fields§
§0: Uuid
Implementations§
Trait Implementations§
Source§impl Clone for SchoolNameId
impl Clone for SchoolNameId
Source§fn clone(&self) -> SchoolNameId
fn clone(&self) -> SchoolNameId
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 SchoolNameId
impl Debug for SchoolNameId
Source§impl<'de> Deserialize<'de> for SchoolNameId
impl<'de> Deserialize<'de> for SchoolNameId
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 Display for SchoolNameId
impl Display for SchoolNameId
Source§impl From<SchoolNameId> for Uuid
impl From<SchoolNameId> for Uuid
Source§fn from(t: SchoolNameId) -> Self
fn from(t: SchoolNameId) -> Self
Converts to this type from the input type.
Source§impl FromStr for SchoolNameId
impl FromStr for SchoolNameId
Source§impl Hash for SchoolNameId
impl Hash for SchoolNameId
Source§impl PartialEq for SchoolNameId
impl PartialEq for SchoolNameId
Source§impl PathPart for SchoolNameId
impl PathPart for SchoolNameId
Source§fn get_path_string(&self) -> String
fn get_path_string(&self) -> String
string value to replace placeholder with
Source§impl Serialize for SchoolNameId
impl Serialize for SchoolNameId
impl Copy for SchoolNameId
impl Eq for SchoolNameId
impl StructuralPartialEq for SchoolNameId
Auto Trait Implementations§
impl Freeze for SchoolNameId
impl RefUnwindSafe for SchoolNameId
impl Send for SchoolNameId
impl Sync for SchoolNameId
impl Unpin for SchoolNameId
impl UnwindSafe for SchoolNameId
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