pub struct TrackerCapabilities {Show 15 fields
pub comment: bool,
pub edit_comment: bool,
pub labels: Vec<String>,
pub free_labels: bool,
pub transitions: Vec<String>,
pub assign: bool,
pub close: bool,
pub create: bool,
pub issue_types: Vec<String>,
pub priorities: Vec<String>,
pub children: String,
pub links: Vec<String>,
pub replies: bool,
pub visibility: String,
pub markers: bool,
}Expand description
What one tracker instance can do, discovered from the provider and the tracker.
Answers about the repository or project are the same for every issue and may be cached
by the caller for a while; transitions depends on the issue it was asked about.
Fields§
§comment: boolNew comments can be posted.
edit_comment: boolA posted comment can be edited in place.
labels: Vec<String>The labels the repository or project has; empty when free_labels.
free_labels: boolLabels are free text, so any label is accepted and labels lists none.
transitions: Vec<String>The workflow transitions open on the issue asked about; empty without a workflow.
assign: boolAssignees can be changed.
close: boolAn issue can be closed and reopened.
create: boolIssues can be created.
issue_types: Vec<String>The issue types a created issue may have; empty when the tracker has none.
priorities: Vec<String>The priorities a created issue may carry; empty when the tracker has none.
children: StringHow a child issue is attached to its parent: none, sub_issues, subtasks or
parent.
links: Vec<String>The ways two issues are linked besides naming each other in text: issue_links
and remote_links; empty when only text can.
replies: boolComments made after a moment can be listed.
visibility: StringWhether the repository or project is public, private or unknown.
markers: boolA comment can carry a hidden marker the provider finds again.
Trait Implementations§
Source§impl Clone for TrackerCapabilities
impl Clone for TrackerCapabilities
Source§impl Debug for TrackerCapabilities
impl Debug for TrackerCapabilities
Source§impl Default for TrackerCapabilities
impl Default for TrackerCapabilities
impl Eq for TrackerCapabilities
Source§impl FromValue for TrackerCapabilities
impl FromValue for TrackerCapabilities
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.