pub struct ShortAnswerQuestion {
pub usecase: bool,
/* private fields */
}
Expand description
Short answer question type.
Fields§
§usecase: bool
Implementations§
Trait Implementations§
Source§impl Clone for ShortAnswerQuestion
impl Clone for ShortAnswerQuestion
Source§fn clone(&self) -> ShortAnswerQuestion
fn clone(&self) -> ShortAnswerQuestion
Returns a duplicate of the value. Read more
1.0.0 · 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 ShortAnswerQuestion
impl Debug for ShortAnswerQuestion
Source§impl From<ShortAnswerQuestion> for QuestionType
impl From<ShortAnswerQuestion> for QuestionType
Source§fn from(question: ShortAnswerQuestion) -> Self
fn from(question: ShortAnswerQuestion) -> Self
Converts to this type from the input type.
Source§impl From<ShortAnswerQuestion> for Vec<Box<dyn Question>>where
ShortAnswerQuestion: Question + 'static,
impl From<ShortAnswerQuestion> for Vec<Box<dyn Question>>where
ShortAnswerQuestion: Question + 'static,
Source§fn from(question: ShortAnswerQuestion) -> Self
fn from(question: ShortAnswerQuestion) -> Self
Converts to this type from the input type.
Source§impl<Q> From<ShortAnswerQuestion> for Vec<Q>
impl<Q> From<ShortAnswerQuestion> for Vec<Q>
Source§fn from(question: ShortAnswerQuestion) -> Self
fn from(question: ShortAnswerQuestion) -> Self
Converts to this type from the input type.
Source§impl From<ShortAnswerQuestion> for Vec<QuestionType>
impl From<ShortAnswerQuestion> for Vec<QuestionType>
Source§fn from(question: ShortAnswerQuestion) -> Self
fn from(question: ShortAnswerQuestion) -> Self
Converts to this type from the input type.
Source§impl Question for ShortAnswerQuestion
impl Question for ShortAnswerQuestion
Source§fn get_description(&self) -> &str
fn get_description(&self) -> &str
Returns the description of the question.
Source§fn set_text_format(&mut self, format: TextFormat)
fn set_text_format(&mut self, format: TextFormat)
Set the text rendering format
TextFormat
for the question.Auto Trait Implementations§
impl Freeze for ShortAnswerQuestion
impl RefUnwindSafe for ShortAnswerQuestion
impl Send for ShortAnswerQuestion
impl Sync for ShortAnswerQuestion
impl Unpin for ShortAnswerQuestion
impl UnwindSafe for ShortAnswerQuestion
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