Skip to main content

issue_selected

Function issue_selected 

Source
pub fn issue_selected(issue: &Issue, fields: &[String]) -> String
Expand description

Render only the requested fields, on one line.

The cheapest rung of the ladder: a caller that needs a status does not need the other fourteen lines. Fields come back in the order they were asked for, and an unknown or unset field renders as - rather than vanishing — a missing column would silently shift everything after it.