Skip to main content

Form

Trait Form 

Source
pub trait Form {
    // Required method
    fn to_form() -> String;
}
Expand description

A trait for structs which can be parsed into a html form.

Required Methods§

Source

fn to_form() -> String

Returns the form representation of this struct.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§