pub struct AskQuestion {
pub prompt: String,
pub options: Vec<AskOption>,
pub multi_select: bool,
}Fields§
§prompt: String§options: Vec<AskOption>§multi_select: boolTrait Implementations§
Source§impl Clone for AskQuestion
impl Clone for AskQuestion
Source§fn clone(&self) -> AskQuestion
fn clone(&self) -> AskQuestion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AskQuestion
impl Debug for AskQuestion
Source§impl<'de> Deserialize<'de> for AskQuestion
impl<'de> Deserialize<'de> for AskQuestion
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 AskQuestion
Source§impl PartialEq for AskQuestion
impl PartialEq for AskQuestion
Source§fn eq(&self, other: &AskQuestion) -> bool
fn eq(&self, other: &AskQuestion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AskQuestion
impl Serialize for AskQuestion
impl StructuralPartialEq for AskQuestion
Auto Trait Implementations§
impl Freeze for AskQuestion
impl RefUnwindSafe for AskQuestion
impl Send for AskQuestion
impl Sync for AskQuestion
impl Unpin for AskQuestion
impl UnsafeUnpin for AskQuestion
impl UnwindSafe for AskQuestion
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