pub struct AnswerRecord {
pub version: u32,
pub judged: BTreeMap<String, String>,
pub automatic: u32,
}Expand description
What spar answer has done on one issue, in .spar/state/answer-N.json.
Every mention that was judged is kept, whether it was answered, left for
the viewer, or asked nothing, keyed body or comment:{id}. A mention is
judged once: an edit to it, or the thread moving under spar’s own reply,
is not a new question, and treating either as one is how a reply answers
itself. A mention whose run failed is not kept, so it is tried again.
Fields§
§version: u32§judged: BTreeMap<String, String>Mention key to what became of it.
automatic: u32Runs spar listen started since a person last ran spar answer here.
Trait Implementations§
Source§impl Clone for AnswerRecord
impl Clone for AnswerRecord
Source§impl Debug for AnswerRecord
impl Debug for AnswerRecord
Source§impl Default for AnswerRecord
impl Default for AnswerRecord
Source§impl<'de> Deserialize<'de> for AnswerRecord
impl<'de> Deserialize<'de> for AnswerRecord
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
impl Eq for AnswerRecord
Source§impl PartialEq for AnswerRecord
impl PartialEq for AnswerRecord
Source§impl Serialize for AnswerRecord
impl Serialize for AnswerRecord
impl StructuralPartialEq for AnswerRecord
Auto Trait Implementations§
impl Freeze for AnswerRecord
impl RefUnwindSafe for AnswerRecord
impl Send for AnswerRecord
impl Sync for AnswerRecord
impl Unpin for AnswerRecord
impl UnsafeUnpin for AnswerRecord
impl UnwindSafe for AnswerRecord
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.