pub struct Facts {Show 14 fields
pub number: i64,
pub named: bool,
pub open: bool,
pub author_is_viewer: bool,
pub has_posted_record: bool,
pub recheck_capped: bool,
pub has_custody_state: bool,
pub below_floor: bool,
pub linked_pr_with_record: Option<i64>,
pub review_pending: bool,
pub request_answered: bool,
pub mentioned: bool,
pub asks_open: bool,
pub answers_capped: bool,
}Expand description
What plan needs to know about an item beyond what is pending. Read once
per dispatch, never per tick.
Fields§
§number: i64§named: bool§open: boolFor an issue, this and recheck_capped are about its linked pull
request, since that is what a second look on its behalf would be at.
has_posted_record: boolA review record the author has seen.
recheck_capped: bool§has_custody_state: boolThe custody loop’s pr-N.json.
below_floor: bool§linked_pr_with_record: Option<i64>For an issue: its open pull request, when spar reviewed that.
review_pending: boolThe pull request asks the viewer for a review right now, by name or through a team the viewer is in.
request_answered: boolThat request was made before the posted review began, so the review answered it.
mentioned: boolSomebody, not a bot, @mentioned the viewer since the review on record, or for an issue since its pull request’s. Read only when a mention is pending.
asks_open: boolFor an issue with no reviewed pull request: a mention of the viewer on
it that spar answer has not judged. Read only when a mention is
pending.
answers_capped: boolFor the same issue: spar answer ran on it max_answers times
without a person running it since.
Trait Implementations§
impl Eq for Facts
impl StructuralPartialEq for Facts
Auto Trait Implementations§
impl Freeze for Facts
impl RefUnwindSafe for Facts
impl Send for Facts
impl Sync for Facts
impl Unpin for Facts
impl UnsafeUnpin for Facts
impl UnwindSafe for Facts
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
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
key and return true if they are equal.