pub struct Answered {
pub version: u32,
pub seen: BTreeMap<String, String>,
}Expand description
What spar has already answered on one pull request or issue.
Keyed by thread or comment, valued by the newest message in it that spar did not write. A thread that has moved since spar answered carries a different value and is read again, which is what makes “they replied to my reply” work. GitHub’s own resolved flag covers the threads spar fixed; this covers the ones it argued with, which stay open on purpose and would otherwise be re-argued once per run, forever.
Written only after a reply has posted. A run that could not post is a run that has not answered, and recording it as answered would lose the comment.
Fields§
§version: u32§seen: BTreeMap<String, String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Answered
impl<'de> Deserialize<'de> for Answered
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Answered
impl RefUnwindSafe for Answered
impl Send for Answered
impl Sync for Answered
impl Unpin for Answered
impl UnsafeUnpin for Answered
impl UnwindSafe for Answered
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