Rust Repository-pattern Resources