pub enum RecommendationReason {
NextInSequence,
PrerequisiteSatisfied,
SameDifficulty,
PopularNext,
FillGap,
Review,
SkillLevelMatch,
RelatedTopic,
}Expand description
The reasoning behind why a lesson is recommended
Variants§
NextInSequence
The logical next lesson in the learning sequence
PrerequisiteSatisfied
Prerequisites have just been satisfied
SameDifficulty
Similar difficulty to recently completed lessons
PopularNext
What other users commonly do next (placeholder for future)
FillGap
Fills a gap in the user’s knowledge
Review
A lesson completed long ago (good for review)
SkillLevelMatch
Matches user’s skill level
RelatedTopic
Related to recently completed topics
Trait Implementations§
Source§impl Clone for RecommendationReason
impl Clone for RecommendationReason
Source§fn clone(&self) -> RecommendationReason
fn clone(&self) -> RecommendationReason
Returns a duplicate 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 RecommendationReason
impl Debug for RecommendationReason
Source§impl<'de> Deserialize<'de> for RecommendationReason
impl<'de> Deserialize<'de> for RecommendationReason
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 RecommendationReason
impl PartialEq for RecommendationReason
Source§impl Serialize for RecommendationReason
impl Serialize for RecommendationReason
impl Eq for RecommendationReason
impl StructuralPartialEq for RecommendationReason
Auto Trait Implementations§
impl Freeze for RecommendationReason
impl RefUnwindSafe for RecommendationReason
impl Send for RecommendationReason
impl Sync for RecommendationReason
impl Unpin for RecommendationReason
impl UnwindSafe for RecommendationReason
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