pub trait HtmlControls {
    fn generate_html(
        url_action: Option<&str>,
        http_method: Option<HttpMethod>,
        enctype: Option<Enctype>,
        service_name: &str,
        model_name: &str,
        fields_name: &Vec<String>,
        map_widgets: &HashMap<String, Widget>
    ) -> Result<String, Box<dyn Error>> { ... } fn output_data_to_html(
        &self,
        _action: Option<&str>,
        _method: Option<HttpMethod>,
        _enctype: Option<Enctype>
    ) -> Result<String, Box<dyn Error>> { ... } }

Provided Methods

Rendering HTML-controls code for Form. ( If necessary, customize the code generation yourself using html and css from Bootstrap, Material Design, etc. )

Implementors