pub trait IdentityNode {
// Required methods
fn canonical_id(&self) -> Option<&str>;
fn issue_number(&self) -> u32;
fn issue_filename(&self) -> &str;
fn issue_title(&self) -> &str;
}Expand description
The fields identity resolution needs from an issue-like value.
Required Methods§
Sourcefn canonical_id(&self) -> Option<&str>
fn canonical_id(&self) -> Option<&str>
The canonical issue id, when this record has one.
Sourcefn issue_number(&self) -> u32
fn issue_number(&self) -> u32
The human-facing number alias.
Sourcefn issue_filename(&self) -> &str
fn issue_filename(&self) -> &str
The store-relative filename.
Sourcefn issue_title(&self) -> &str
fn issue_title(&self) -> &str
The current title.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".