pub struct RenderQuestion {Show 13 fields
pub id: String,
pub title: String,
pub description: Option<String>,
pub title_i18n_key: Option<String>,
pub description_i18n_key: Option<String>,
pub kind: QuestionType,
pub required: bool,
pub default: Option<String>,
pub secret: bool,
pub visible: bool,
pub current_value: Option<Value>,
pub choices: Option<Vec<String>>,
pub list: Option<ListSpec>,
}Expand description
Describes a single question for render outputs.
Fields§
§id: String§title: String§description: Option<String>§title_i18n_key: Option<String>§description_i18n_key: Option<String>§kind: QuestionType§required: bool§default: Option<String>§secret: bool§visible: bool§current_value: Option<Value>§choices: Option<Vec<String>>§list: Option<ListSpec>Trait Implementations§
Source§impl Clone for RenderQuestion
impl Clone for RenderQuestion
Source§fn clone(&self) -> RenderQuestion
fn clone(&self) -> RenderQuestion
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 moreAuto Trait Implementations§
impl Freeze for RenderQuestion
impl RefUnwindSafe for RenderQuestion
impl Send for RenderQuestion
impl Sync for RenderQuestion
impl Unpin for RenderQuestion
impl UnsafeUnpin for RenderQuestion
impl UnwindSafe for RenderQuestion
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