pub struct CreateQuestionConfigBody {Show 14 fields
pub name: String,
pub question: String,
pub help_text: Option<String>,
pub type: String,
pub num_stars: Option<f64>,
pub min: Option<f64>,
pub max: Option<f64>,
pub default_value: Option<f64>,
pub label_negative: Option<String>,
pub label_positive: Option<String>,
pub custom_options: Option<Vec<QuestionConfigCustomOptionsInner>>,
pub sub_question_ids: Option<Vec<String>>,
pub always_show_sub_questions: Option<bool>,
pub reporting_order: f64,
}Fields§
§name: String§question: String§help_text: Option<String>§type: String§num_stars: Option<f64>§min: Option<f64>§max: Option<f64>§default_value: Option<f64>§label_negative: Option<String>§label_positive: Option<String>§custom_options: Option<Vec<QuestionConfigCustomOptionsInner>>§sub_question_ids: Option<Vec<String>>§always_show_sub_questions: Option<bool>§reporting_order: f64Implementations§
Trait Implementations§
Source§impl Clone for CreateQuestionConfigBody
impl Clone for CreateQuestionConfigBody
Source§fn clone(&self) -> CreateQuestionConfigBody
fn clone(&self) -> CreateQuestionConfigBody
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 CreateQuestionConfigBody
impl Debug for CreateQuestionConfigBody
Source§impl Default for CreateQuestionConfigBody
impl Default for CreateQuestionConfigBody
Source§fn default() -> CreateQuestionConfigBody
fn default() -> CreateQuestionConfigBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateQuestionConfigBody
impl<'de> Deserialize<'de> for CreateQuestionConfigBody
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 CreateQuestionConfigBody
impl PartialEq for CreateQuestionConfigBody
Source§impl Serialize for CreateQuestionConfigBody
impl Serialize for CreateQuestionConfigBody
impl StructuralPartialEq for CreateQuestionConfigBody
Auto Trait Implementations§
impl Freeze for CreateQuestionConfigBody
impl RefUnwindSafe for CreateQuestionConfigBody
impl Send for CreateQuestionConfigBody
impl Sync for CreateQuestionConfigBody
impl Unpin for CreateQuestionConfigBody
impl UnwindSafe for CreateQuestionConfigBody
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