Struct stepflow::action::HtmlFormAction [−][src]
Action to generate an HTML form for a Step
The action looks iterates through all the outputs of the current Step and generates HTML based on the HtmlFormConfig
.
The HTML is returned as a string in the ActionResult::StartWith
result
Implementations
impl HtmlFormAction
[src]
pub fn new(id: ActionId, html_config: HtmlFormConfig) -> HtmlFormAction
[src]
Create a new HtmlFormAction
pub fn boxed(self) -> Box<dyn Action + 'static + Send + Sync, Global>
[src]
Trait Implementations
impl Action for HtmlFormAction
[src]
pub fn id(&self) -> &ActionId
[src]
pub fn start(
&mut self,
step: &Step,
_step_name: Option<&str>,
_step_data: &StateDataFiltered<'_>,
vars: &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>
) -> Result<ActionResult, ActionError>
[src]
&mut self,
step: &Step,
_step_name: Option<&str>,
_step_data: &StateDataFiltered<'_>,
vars: &ObjectStoreFiltered<'_, Box<dyn Var + 'static + Send + Sync, Global>, VarId>
) -> Result<ActionResult, ActionError>
impl Debug for HtmlFormAction
[src]
Auto Trait Implementations
impl RefUnwindSafe for HtmlFormAction
impl Send for HtmlFormAction
impl Sync for HtmlFormAction
impl Unpin for HtmlFormAction
impl UnwindSafe for HtmlFormAction
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsAny for T where
T: Any,
[src]
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,