pub struct PendingQuestion {
pub id: String,
pub question: String,
pub options: Option<Vec<String>>,
}Expand description
A question the host waits for (session.answer).
Fields§
§id: String§question: String§options: Option<Vec<String>>Free-form options, or null for a plain-text question.
Trait Implementations§
Source§impl Clone for PendingQuestion
impl Clone for PendingQuestion
Source§impl Debug for PendingQuestion
impl Debug for PendingQuestion
Source§impl<'de> Deserialize<'de> for PendingQuestion
impl<'de> Deserialize<'de> for PendingQuestion
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
Source§impl PartialEq for PendingQuestion
impl PartialEq for PendingQuestion
Source§impl Serialize for PendingQuestion
impl Serialize for PendingQuestion
impl StructuralPartialEq for PendingQuestion
Auto Trait Implementations§
impl Forget for PendingQuestion
impl Freeze for PendingQuestion
impl Move for PendingQuestion
impl RefUnwindSafe for PendingQuestion
impl Send for PendingQuestionwhere
RawVecInner: Send,
impl Sync for PendingQuestionwhere
RawVecInner: Sync,
impl Unpin for PendingQuestion
impl UnsafeUnpin for PendingQuestionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for PendingQuestionwhere
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