pub trait PullLabels: Send + Sync {
// Required method
fn resolve(&self, owner: &str, repo: &str, names: &[String]) -> Vec<Value>;
}Expand description
Resolve label names on a pull request to {name, color} objects.
Integration point for the labels tier, which owns the per-repository label
set. The default PlainLabels returns each name with a neutral colour.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".