pub struct LearningId(/* private fields */);Expand description
Identifier of a learning.
Implementations§
Trait Implementations§
Source§impl Clone for LearningId
impl Clone for LearningId
Source§impl Debug for LearningId
impl Debug for LearningId
Source§impl<'de> Deserialize<'de> for LearningId
impl<'de> Deserialize<'de> for LearningId
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 LearningId
impl Display for LearningId
impl Eq for LearningId
Source§impl From<&str> for LearningId
Reads an identifier that came from outside — a URL path, say.
impl From<&str> for LearningId
Reads an identifier that came from outside — a URL path, say.
Deliberately not validated. This type names a learning; it does not certify that one exists, and the only thing done with an identifier matching nothing is to say so.
Source§impl Hash for LearningId
impl Hash for LearningId
Source§impl Ord for LearningId
impl Ord for LearningId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LearningId
impl PartialEq for LearningId
Source§impl PartialOrd for LearningId
impl PartialOrd for LearningId
Source§impl Serialize for LearningId
impl Serialize for LearningId
impl StructuralPartialEq for LearningId
Auto Trait Implementations§
impl Freeze for LearningId
impl RefUnwindSafe for LearningId
impl Send for LearningId
impl Sync for LearningId
impl Unpin for LearningId
impl UnsafeUnpin for LearningId
impl UnwindSafe for LearningId
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