Trait stud_ip_scraper::course_modules::CourseModule
source · pub trait CourseModule: Debug + Any {
// Required methods
fn new(data: Arc<CourseModuleData>) -> Self
where Self: Sized;
fn name() -> &'static str
where Self: Sized;
fn as_any(&mut self) -> &mut dyn Any;
}
Required Methods§
sourcefn new(data: Arc<CourseModuleData>) -> Selfwhere
Self: Sized,
fn new(data: Arc<CourseModuleData>) -> Selfwhere
Self: Sized,
Constructs a new instance of the Module, for a specific Course