DOCS INCOMING ...
- Import the
Sourcetrait to implement
use crate::interface::Source;
use crate::model::*;- Implement the functions of the trait
impl Source for SourceName {
fn home(&self) -> Vec<Novel> {
Vec::new()
}
// other functions
}- Test it out and make a pull request
cargo build
cargo run
cargo test