pub struct AssignedIssue {
pub number: i64,
pub title: String,
pub assignees: Vec<String>,
pub assigned: Vec<(String, String)>,
}Expand description
An issue, with who it is assigned to now and every assignment its timeline
shows, as spar listen reads them to tell an assignment it has not judged
from one it has.
Fields§
§number: i64§title: String§assignees: Vec<String>The logins assigned to it now.
assigned: Vec<(String, String)>Each assignment as (when, who), oldest first.
Implementations§
Source§impl AssignedIssue
impl AssignedIssue
Sourcepub fn newest_for(&self, viewer: &str) -> Option<String>
pub fn newest_for(&self, viewer: &str) -> Option<String>
When viewer was last assigned to it, while still assigned. None when
the viewer is not assigned now, however often they were, or when no
assignment of theirs is on the timeline with a time that reads.
Trait Implementations§
Source§impl Clone for AssignedIssue
impl Clone for AssignedIssue
Source§impl Debug for AssignedIssue
impl Debug for AssignedIssue
Source§impl Default for AssignedIssue
impl Default for AssignedIssue
impl Eq for AssignedIssue
Source§impl PartialEq for AssignedIssue
impl PartialEq for AssignedIssue
impl StructuralPartialEq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.