pub struct RenderPayload {
pub form_id: String,
pub form_title: String,
pub form_version: String,
pub status: RenderStatus,
pub next_question_id: Option<String>,
pub progress: RenderProgress,
pub help: Option<String>,
pub questions: Vec<RenderQuestion>,
pub schema: Value,
}Expand description
Collected payload used by both text and JSON renderers.
Fields§
§form_id: String§form_title: String§form_version: String§status: RenderStatus§next_question_id: Option<String>§progress: RenderProgress§help: Option<String>§questions: Vec<RenderQuestion>§schema: ValueTrait Implementations§
Source§impl Clone for RenderPayload
impl Clone for RenderPayload
Source§fn clone(&self) -> RenderPayload
fn clone(&self) -> RenderPayload
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 RenderPayload
impl RefUnwindSafe for RenderPayload
impl Send for RenderPayload
impl Sync for RenderPayload
impl Unpin for RenderPayload
impl UnsafeUnpin for RenderPayload
impl UnwindSafe for RenderPayload
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