pub struct ActiveQuestionSnapshot {
pub question: UserQuestion,
pub remaining_secs: Option<f64>,
pub done: bool,
}Expand description
Serializable view of an in-flight question.
Fields§
§question: UserQuestion§remaining_secs: Option<f64>Seconds remaining before timeout, or null if no deadline.
done: boolTrait Implementations§
Source§impl Debug for ActiveQuestionSnapshot
impl Debug for ActiveQuestionSnapshot
Auto Trait Implementations§
impl Freeze for ActiveQuestionSnapshot
impl RefUnwindSafe for ActiveQuestionSnapshot
impl Send for ActiveQuestionSnapshot
impl Sync for ActiveQuestionSnapshot
impl Unpin for ActiveQuestionSnapshot
impl UnsafeUnpin for ActiveQuestionSnapshot
impl UnwindSafe for ActiveQuestionSnapshot
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