summaryrefslogtreecommitdiff
path: root/src/tutors/abstractions/tutor.rs
blob: f36da3dd5661a2966fcd1a8b6ec5abfde567806e (plain) (blame)
1
2
3
4
5
6
7
use std::{borrow::Cow, fmt};

pub trait Tutor: fmt::Debug + Ord {
    fn get_name(&self) -> &str;
    fn get_id(&self) -> &str;
    fn get_blurb(&self) -> Cow<str>;
}