pub struct TextQuestion {
pub paragraph: bool,
}Expand description
A short-answer or paragraph text question.
Fields§
§paragraph: boolIf true, this is a paragraph (long-answer) question; otherwise short-answer.
Trait Implementations§
Source§impl Clone for TextQuestion
impl Clone for TextQuestion
Source§fn clone(&self) -> TextQuestion
fn clone(&self) -> TextQuestion
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 TextQuestion
impl Debug for TextQuestion
Source§impl<'de> Deserialize<'de> for TextQuestion
impl<'de> Deserialize<'de> for TextQuestion
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
Auto Trait Implementations§
impl Freeze for TextQuestion
impl RefUnwindSafe for TextQuestion
impl Send for TextQuestion
impl Sync for TextQuestion
impl Unpin for TextQuestion
impl UnsafeUnpin for TextQuestion
impl UnwindSafe for TextQuestion
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