Skip to main content

IdentityNode

Trait IdentityNode 

Source
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§

Source

fn canonical_id(&self) -> Option<&str>

The canonical issue id, when this record has one.

Source

fn issue_number(&self) -> u32

The human-facing number alias.

Source

fn issue_filename(&self) -> &str

The store-relative filename.

Source

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".

Implementors§