pub struct AssignedIssue {
pub issue: Issue,
pub cycle_id: Option<String>,
pub team_active_cycle_id: Option<String>,
}Expand description
An issue assigned to the viewer, with just enough cycle context to decide
whether import --mine should bring it in.
Fields§
§issue: Issue§cycle_id: Option<String>The cycle the issue sits in, if any.
team_active_cycle_id: Option<String>The team’s currently active cycle. None means the team does not use
cycles (or has none running), which changes what “mine, now” means.
Implementations§
Source§impl AssignedIssue
impl AssignedIssue
Sourcepub fn in_active_scope(&self) -> bool
pub fn in_active_scope(&self) -> bool
Whether --mine should import this issue. A team with no active cycle
puts every open assigned issue in scope; a team running a cycle scopes
“mine, now” to that cycle — anything outside it is backlog.
Trait Implementations§
Source§impl Clone for AssignedIssue
impl Clone for AssignedIssue
Auto Trait Implementations§
impl Freeze for AssignedIssue
impl RefUnwindSafe for AssignedIssue
impl Send for AssignedIssue
impl Sync for AssignedIssue
impl Unpin for AssignedIssue
impl UnsafeUnpin for AssignedIssue
impl UnwindSafe for AssignedIssue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more