[−][src]Struct oration::data::FormEdit
pub struct FormEdit { pub comment: String, pub name: Option<String>, pub email: Option<String>, pub url: Option<String>, }
Incoming data from the web based form for an edited comment.
Fields
comment: String
Comment from textarea.
name: Option<String>
Optional name.
email: Option<String>
Optional email.
url: Option<String>
Optional website.
Trait Implementations
impl<'rocket> FromForm<'rocket> for FormEdit
[src]
impl<'rocket> FromForm<'rocket> for FormEdit
fn from_form(
it: &mut FormItems<'rocket>,
strict: bool
) -> Result<FormEdit, Error>
[src]
fn from_form(
it: &mut FormItems<'rocket>,
strict: bool
) -> Result<FormEdit, Error>
Parses an instance of Self
from the iterator of form items it
. Read more
type Error = Error
The associated error to be returned when parsing fails.
impl Debug for FormEdit
[src]
impl Debug for FormEdit