pub trait ProjectNode {
// Required methods
fn number(&self) -> u32;
fn title(&self) -> &str;
fn status(&self) -> &str;
fn project_ids(&self) -> &[String];
}Expand description
The minimum an issue must expose for project derivation.
WP03 implements this for crate::model::Issue. Keeping it a trait is what
lets this module be written and tested without src/model.rs, which WP03
owns.
Required Methods§
Sourcefn project_ids(&self) -> &[String]
fn project_ids(&self) -> &[String]
The stored project ids, in the order the file carries them.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".