pub struct Entry {Show 19 fields
pub id: String,
pub decision_key: String,
pub kind: Kind,
pub question: String,
pub options: Vec<String>,
pub default: String,
pub evidence: Vec<String>,
pub session: String,
pub cwd: String,
pub repo: String,
pub engineer: String,
pub ms: i64,
pub answer: Option<String>,
pub answered_by: Option<String>,
pub answered_ms: Option<i64>,
pub disagreeing: Vec<String>,
pub dismissed: Option<String>,
pub dismissed_ms: Option<i64>,
pub payload: Option<Value>,
}Expand description
One queen question (a line of queue.jsonl). Answering appends the same id with the answer set; the latest line per id wins.
Fields§
§id: String§decision_key: String§kind: Kind§question: String§options: Vec<String>§default: String§evidence: Vec<String>§session: String§cwd: String§repo: StringThe repo the question is about (repo_name of its cwd at queueing); empty on older lines.
engineer: String§ms: i64§answer: Option<String>§answered_by: Option<String>§answered_ms: Option<i64>§disagreeing: Vec<String>Lessons whose disagreement led to the question; the answer supersedes them.
dismissed: Option<String>Why the question was dismissed (borg queen dismiss, dedupe): it is no longer open, never
delivered, and no lesson is written.
dismissed_ms: Option<i64>§payload: Option<Value>What a 0.3.0 hive task’s question carried (its goal and task, legacy_hive); None on every
other line.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
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 StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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