pub struct QuestionEntry {
pub id: String,
pub pos: usize,
pub required: bool,
pub query_text: String,
pub help_text: Option<String>,
pub entry_type: EntryType,
}Fields§
§id: String§pos: usize§required: bool§query_text: String§help_text: Option<String>§entry_type: EntryTypeImplementations§
Source§impl QuestionEntry
impl QuestionEntry
Trait Implementations§
Source§impl Clone for QuestionEntry
impl Clone for QuestionEntry
Source§fn clone(&self) -> QuestionEntry
fn clone(&self) -> QuestionEntry
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 QuestionEntry
impl Debug for QuestionEntry
Source§impl Default for QuestionEntry
impl Default for QuestionEntry
Source§fn default() -> QuestionEntry
fn default() -> QuestionEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QuestionEntry
impl<'de> Deserialize<'de> for QuestionEntry
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 QuestionEntry
impl PartialEq for QuestionEntry
Source§impl Serialize for QuestionEntry
impl Serialize for QuestionEntry
impl StructuralPartialEq for QuestionEntry
Auto Trait Implementations§
impl Freeze for QuestionEntry
impl RefUnwindSafe for QuestionEntry
impl Send for QuestionEntry
impl Sync for QuestionEntry
impl Unpin for QuestionEntry
impl UnwindSafe for QuestionEntry
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