pub struct PendingCall {
pub seq: i64,
pub ord: usize,
pub call: Pending,
pub decision: Option<Decision>,
pub decided_ms: Option<i64>,
pub by: Option<String>,
}Expand description
One stored row: a call, and the answer if one arrived.
Fields§
§seq: i64The seq of the assistant message that carried the call.
ord: usizeIts position within that message, so two calls can never collide on one row.
call: Pending§decision: Option<Decision>§decided_ms: Option<i64>§by: Option<String>Who answered: user, judge or policy (#340). None for a row that has no answer
yet, and for one written before the column existed — nobody recorded it, and saying so is
better than guessing a name.
Implementations§
Source§impl PendingCall
impl PendingCall
pub fn is_waiting(&self) -> bool
Trait Implementations§
Source§impl Clone for PendingCall
impl Clone for PendingCall
Source§impl Debug for PendingCall
impl Debug for PendingCall
Source§impl PartialEq for PendingCall
impl PartialEq for PendingCall
Source§impl Serialize for PendingCall
impl Serialize for PendingCall
impl StructuralPartialEq for PendingCall
Auto Trait Implementations§
impl Forget for PendingCall
impl Freeze for PendingCall
impl Move for PendingCall
impl RefUnwindSafe for PendingCall
impl Send for PendingCallwhere
RawVecInner: Send,
impl Sync for PendingCallwhere
RawVecInner: Sync,
impl Unpin for PendingCall
impl UnsafeUnpin for PendingCall
impl UnwindSafe for PendingCallwhere
RawVecInner: UnwindSafe,
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