pub struct LearningAnalytics { /* private fields */ }Expand description
Learning analytics system
Implementations§
Source§impl LearningAnalytics
impl LearningAnalytics
pub fn new() -> Self
Sourcepub fn track_event(&mut self, event: LearningEvent)
pub fn track_event(&mut self, event: LearningEvent)
Track a learning event
Sourcepub fn get_student_metrics(&self, student_id: &str) -> StudentMetrics
pub fn get_student_metrics(&self, student_id: &str) -> StudentMetrics
Get metrics for a specific student
Sourcepub fn get_class_metrics(&self) -> ClassMetrics
pub fn get_class_metrics(&self) -> ClassMetrics
Get metrics for the entire class
Trait Implementations§
Source§impl Clone for LearningAnalytics
impl Clone for LearningAnalytics
Source§fn clone(&self) -> LearningAnalytics
fn clone(&self) -> LearningAnalytics
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 moreAuto Trait Implementations§
impl Freeze for LearningAnalytics
impl RefUnwindSafe for LearningAnalytics
impl Send for LearningAnalytics
impl Sync for LearningAnalytics
impl Unpin for LearningAnalytics
impl UnwindSafe for LearningAnalytics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more